overlaps

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

Tests if two geometries overlap. Two geometries overlap when they have the same dimension and when their intersection result is a geometry of the same dimension. If the intersection result is a geometry with a lesser dimension than the input geometries, the method returns false. For example, two input polygons must return a polygon to overlap. If two polygons intersect each other at exactly one point, then no overlap has occurred because the intersection result is a point, whose dimension is zero.

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 overlap, false otherwise.

Since

200.1.0