Skip to main content

Module segmentize

Module segmentize 

Source
Expand description

Equal-length linestring subdivision strategies.

Cartesian subdivision interpolates each edge linearly. The spherical implementation uses Haversine lengths and great-circle interpolation, so explicit strategy selection changes both measurement and cut placement.

Structs§

CartesianSegmentize
Cartesian length and linear-interpolation segmentization.

Traits§

SegmentizeStrategy
Strategy for splitting a linestring into equal-length pieces.