contains

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

Tests if geometry1 contains geometry2. 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 and Spatial relationships.

Supports true curves.

Return

True if geometry1 contains geometry2, false otherwise.

Since

200.1.0

Parameters

geometry1

A geometry object.

geometry2

Another geometry object.

Throws

Indicates that the geometry1 and geometry2 do not have equivalent spatial references.