docs/pages/CurvePath.html
Constructs a new curve path.
Whether the path should automatically be closed by a line curve.
Default is false.
An array of curves defining the path.
Adds a curve to this curve path.
| curve |
The curve to add.
|
Adds a line curve to close the path.
Returns: A reference to this curve path.
Returns list of cumulative curve lengths of the defined curves.
Returns: The curve lengths.
This method returns a vector in 2D or 3D space (depending on the curve definitions) for the given interpolation factor.
| t |
A interpolation factor representing a position on the curve. Must be in the range [0,1].
| | optionalTarget |
The optional target vector the result is written to.
|
Overrides: Curve#getPoint Returns: The position on the curve. It can be a 2D or 3D vector depending on the curve definition.