Skip to main content

transform

Function transform 

Source
pub fn transform<G, S>(g: &G, s: &S) -> G::Output
where G: Transform<S>,
Expand description

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

Mirrors boost::geometry::transform(src, dst, strategy) from boost/geometry/algorithms/transform.hpp.