toPath3D
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.