intersects method

bool intersects(
  1. Object aBounds,
  2. Object bBounds
)
override

For STRtrees, the bounds will be Envelopes; for SIRtrees, Intervals; for other subclasses of AbstractSTRtree, some other class. @param aBounds the bounds of one spatial object @param bBounds the bounds of another spatial object @return whether the two bounds intersect

Implementation

bool intersects(Object aBounds, Object bBounds) {
  return (aBounds as Envelope).intersectsEnvelope(bBounds as Envelope);
}