boundaryOrNull

Calculates the boundary of the given geometry. The type of geometry that the boundary takes depends on the type of the input geometry:

  • For Point - returns an empty geometry. Points have no boundary.

  • For Multipoint - returns an empty geometry. Points have no boundary.

  • For Polyline - returns a multipoint containing the end points of the polyline's parts.

  • For Polygon - returns a polyline describing its outer and inner rings.

Supports true curves.

Return

The boundary of the given geometry, or null if an error occurs.

Since

200.1.0

Parameters

geometry

A geometry object.