clipOrNull

fun clipOrNull(geometry: Geometry, envelope: Envelope): Geometry?

Constructs the portion of a geometry that intersects an envelope. If the Geometry intersects the Envelope, the portion of the Geometry contained within the Envelope is returned. If no part of the Geometry lies within the Envelope, an empty Geometry is returned. If the Geometry lies completely within the Envelope, the entire Geometry is returned.

Supports true curves.

Return

A geometry object that represents the portion of a geometry that intersects an envelope.

Since

200.1.0