intersects method

bool intersects(
  1. GeoBox geoBox
)

Determines whether this GeoBox intersects with the passed GeoBox.

The altitude values are ignored.

  • geoBox A GeoBox to check for intersection.

Returns bool. true if intersects with the GeoBox, false otherwise.

Implementation

bool intersects(GeoBox geoBox) => $prototype.intersects(this, geoBox);