Skip to main content

perimeter_with

Function perimeter_with 

Source
pub fn perimeter_with<P, S>(p: &P, strategy: S) -> S::Out
where P: Polygon, S: LengthStrategy<P::Ring>,
Expand description

Perimeter of a polygon using an explicitly supplied ring-length strategy.

Mirrors the strategy overload of boost::geometry::perimeter from boost/geometry/algorithms/perimeter.hpp:252-258.