intersects

fun intersects(geometry1: Geometry, geometry2: Geometry): Boolean

Tests if two geometries intersect each other. A geometry intersects another geometry if it shares any portion of its geometry with the other geometry feature. If either geometry contain, is within, crosses, touches, or overlaps the other geometry, they intersect.

This spatial relationship test is based on the Dimensionally Extended 9 Intersection Model (DE-9IM) developed by Clementini, et al., and is discussed further in the web pages: DE-9IM[https://en.wikipedia.org/wiki/DE-9IM] and https://developers.arcgis.com/documentation/mapping-apis-and-services/spatial-analysis/geometry-analysis/spatial-relationship/.

Supports true curves.

Return

True if the two geometries intersect, false otherwise.

Since

200.1.0