toContour

fun List<Segment2D>.toContour(closed: Boolean = false): ShapeContour(source)

Stitch the fitted pieces into a single contour, e.g. for drawing; closed for the pieces of a closed fit.