public interface Path<T>
Modifier and Type | Method and Description |
---|---|
float |
approximate(T v) |
float |
approxLength(int samples) |
T |
derivativeAt(T out,
float t) |
float |
locate(T v) |
T |
valueAt(T out,
float t) |
float approximate(T v)
locate(Object)
for a more
precise (but more intensive) method.float locate(T v)
approximate(Object)
for a faster (but less
precise) method.float approxLength(int samples)
samples
- The amount of divisions used to approximate length. Higher values will produce more precise results,
but will be more CPU intensive.Copyright © 2014. All rights reserved.