The predefined relational operations in the Geometry API are Contains, Crosses, Disjoint, Equals, Intersects, Overlaps, Touches, and Within. There is also a Relate operator which allows you to create custom relational operations.

To see how the relational operations work, first review the definitions of dimensionality, interiors, boundaries, and exteriors for the basic geometry types.

Dimensionality

Note that the presence of z-coordinates or m-coordinates does not affect the dimensionality of the geometry.

Interiors, boundaries, and exteriors

Each type of geometry has a defined interior, boundary, and exterior which are important in understanding relational operators.

Relational operators in the Geometry API

The predefined relational operators in Geometry are

You can create custom relations with the Relate operator.