| Modifier and Type | Method and Description |
|---|---|
| public float | approximate(T v)
Returns: The approximated value (between 0 and 1) on the path which is closest to the specified value. |
| public float | approxLength(int
The amount of divisions used to approximate length. Higher values will produce more precise results, but
will be more CPU intensive. samples)Returns: An approximated length of the spline through sampling the curve and accumulating the euclidean distances between the sample points. |
| public T | |
| public float | locate(T v)
Returns: The precise location (between 0 and 1) on the path which is closest to the specified value. |
| public T |
| approximate | back to summary |
|---|---|
public float approximate(T v)
| |
| approxLength | back to summary |
|---|---|
public float approxLength(int samples)
| |
| derivativeAt | back to summary |
|---|---|
| public T derivativeAt(T out, float t) | |
| locate | back to summary |
|---|---|
public float locate(T v)
| |
| valueAt | back to summary |
|---|---|
public T valueAt(T out, float t)
| |