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
gso that no output segment is longer thanmax_distance.