toSegment

fun CatmullRom3.toSegment(): Segment3D
fun CatmullRom2.toSegment(): Segment

Converts spline to a Segment.