Function contour_to_arc_ring

Source
pub fn contour_to_arc_ring(
    contour: &Contour,
    tolerance: Tolerance,
) -> Result<ArcRing, GeomError>
Expand description

Convert one closed contour into an arc ring.

Returns the ring in contour order. Segment endpoints must already meet; gaps are reported rather than closed, because a silently bridged gap changes the profile the caller asked for.