densifyOrNull

fun densifyOrNull(geometry: Geometry, maxSegmentLength: Double): Geometry?

Densifies the input geometry by inserting additional vertices along the geometry at an interval defined by maxSegmentLength. Additional vertices are not inserted on segments of the input Envelope, Polygon, or Polyline that are shorter than maxSegmentLength.

Supports true curves as input, producing a densified curve as output where applicable.

Return

The densified geometry.

Since

200.1.0