intersects method

bool intersects(
  1. Box other
)

Returns true if this bounding box intesects with other box.

X ja y (or lon and lat) are always compared on intersection calculation.

This and other must equal on is3D and isMeasured properties. Z (or elev) is further compared when both has z coordinates, and m is compared when both has m coordinates.

Implementation

bool intersects(Box other) => Box.testIntersects(this, other);