Skip to main content

Module transform

Module transform 

Source
Expand description

transform(&g, &strategy) — return a fresh geometry whose every point has been mapped through strategy.

Mirrors boost::geometry::transform(g_src, g_dst, strategy) from boost/geometry/algorithms/transform.hpp. The Boost overload mutates g_dst through an out-parameter; the Rust port returns the result by value (same observable behaviour).

Functions§

transform
Map every point of g through s, returning a new geometry of the same kind (with the strategy’s output point type).