Skip to main content

Module densify

Module densify 

Source
Expand description

densify(g, max_distance) — insert intermediate points so no segment exceeds max_distance.

Mirrors boost::geometry::densify(g_in, g_out, max_distance) from boost/geometry/algorithms/densify.hpp. Boost takes the output through an out-parameter; the Rust port returns it by value.

Functions§

densify
Insert evenly-spaced intermediate vertices into g so that no output segment is longer than max_distance.