libpysal.cg.bbcommon¶
- libpysal.cg.bbcommon(bb, bbother)[source]¶
Old Stars method for bounding box overlap testing. Also defined in
pysal.weights._cont_binning.Examples
>>> b0 = [0, 0, 10, 10] >>> b1 = [10, 0, 20, 10] >>> bbcommon(b0, b1) 1
Old Stars method for bounding box overlap testing.
Also defined in pysal.weights._cont_binning.
Examples
>>> b0 = [0, 0, 10, 10]
>>> b1 = [10, 0, 20, 10]
>>> bbcommon(b0, b1)
1