pub fn ring_perimeter<R>(
r: &R,
) -> <CartesianPerimeter as LengthStrategy<R>>::OutExpand description
Standalone helper to compute the perimeter of a Ring directly,
without wrapping it in a polygon. Mirrors Boost’s
perimeter(ring) overload which dispatches via the
ring_tag arm of algorithms/perimeter.hpp.