Interface AbstractSTRtree.IntersectsOp

protected static interface AbstractSTRtree.IntersectsOp
A test for intersection between two bounds, necessary because subclasses of AbstractSTRtree have different implementations of bounds.
boolean intersects(Object aBounds, Object bBounds)
For STRtrees, the bounds will be Envelopes; for SIRtrees, Intervals; for other subclasses of AbstractSTRtree, some other class.
Parameters:
aBounds - aBounds the bounds of one spatial object
bBounds - bBounds the bounds of another spatial object
Returns:
whether the two bounds intersect