segments

fun segments(): List<Segment2D>(source)

Cubic Bézier segments of the path, a line per straight piece and one Bézier per at most 90 degrees of arc.