toContour

fun List<Segment2D>.toContour(): ShapeContour(source)

Stitch the fitted pieces into a single open contour, e.g. for drawing.