Helper class to obtain the length of splines and the natural postion along its path.
- c4d.utils.SplineLengthData
Return type: | SplineLengthData |
---|---|
Returns: | A new spline length data object. |
Initialize the spline length data object with a spline.
Parameters: |
|
---|
Called to free the spline.
Get the natural position along the spline. The uniform position is with respect to the actual length of the spline, whereas the natural position only cares about the interpolation of the curve parameter.
Parameters: | t (float) – The uniform position along the spline. |
---|---|
Return type: | float |
Returns: | The natural position in the segment. |
Returns the length of the spline data object.
Return type: | float |
---|---|
Returns: | The length. |
Get the length of the segement.
Parameters: |
|
---|