Skip to main content

Module densify

Module densify 

Source
Expand description

Densification strategies.

Mirrors boost::geometry::strategy::densify::* from boost/geometry/strategies/densify/cartesian.hpp. The Cartesian impl walks each segment and inserts evenly-spaced intermediate points whenever the segment length exceeds max_distance.

Spherical / geographic densify (interpolate along great-circle arcs / geodesics) lands later via the matching CS variants of crate::Pythagoras and the corresponding transform strategies — out of scope here.

Structs§

CartesianDensify
Cartesian densify — straight-line interpolation between consecutive points.

Traits§

DensifyStrategy
A strategy for densifying a geometry — inserting intermediate vertices so no segment exceeds max_distance.