pub fn profile_loops(data: &SketchData, arc_segments: usize) -> ProfileExpand description
Extract closed loops from the sketch’s lines and arcs (chained through
shared or Coincident endpoints) plus standalone circles.
arc_segments is the tessellation density for a full circle; arcs get a
proportional share of it.