toPath3D

fun BSpline<Vector3>.toPath3D(): Path3D(source)

This spline as a Path3D, exactly for degree 1 to 3, see toContour; higher degrees are not supported.


Converts a 3D Catmull-Rom spline chain into a Path3D representation.

The resulting Path3D contains the segments generated from the Catmull-Rom spline and preserves the information about whether the spline forms a closed loop.

Return

A Path3D object representing the converted spline chain.