Method CalculateCurveLengths
CalculateCurveLengths(BezierCurve, DistanceToInterpolation[])
Populate a pre-allocated lookupTable array with distance to 't' values. The number of table entries is dependent on the size of the passed lookupTable.
Declaration
public static void CalculateCurveLengths(BezierCurve curve, DistanceToInterpolation[] lookupTable)
Parameters
| Type | Name | Description |
|---|---|---|
| BezierCurve | curve | The BezierCurve to create a distance to 't' lookup table for. |
| DistanceToInterpolation[] | lookupTable | A pre-allocated array to populate with distance to interpolation ratio data. |