An abstract base class extending [page:Curve]. A CurvePath is simply an array of connected curves, but retains the api of a curve.
The constructor take no parameters.
See the base [page:Curve] class for common properties.
The array of [page:Curve Curves].
Whether or not to automatically close the path.
See the base [page:Curve] class for common methods.
Add a curve to the [page:.curves] array.
Adds a [page:LineCurve lineCurve] to close the path.
Get list of cumulative curve lengths of the curves in the [page:.curves] array.
[page:Float t] - A position on the curve. Must be in the range [ 0, 1 ].
Returns a vector for a given position on the curve path.
divisions -- number of pieces to divide the curve into. Default is *12*.
Returns a set of divisions + 1 points using getPoint( t ).
divisions -- number of pieces to divide the curve into. Default is *40*.
Returns a set of divisions + 1 equi-spaced points using getPointAt( u ).
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]