intersection method
- GeoBox geoBox
Computes the intersection with the passed GeoBox.
The altitude values are ignored. Limitation: Geo boxes are considered as non-intersecting if they overlap only on a single point, horizontal line or vertical line.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
geoBoxAnother geo box to check intersection with.
Returns List<GeoBox>. It will be empty if there is no overlap.
Otherwise, 1 or more geo boxes covering common area by this and passed GeoBox.
Implementation
List<GeoBox> intersection(GeoBox geoBox) => $prototype.intersection(this, geoBox);