public interface Interpolation
| Modifier and Type | Method and Description |
|---|---|
double |
arcLength(double positionA,
double positionB)
Gets the result of ∫ab|f'(t)| dt.
That means it calculates the arc length (in meters) between positionA and positionB. |
Vector |
get1stDerivative(double position)
Gets the result of f'(position).
|
Vector |
getPosition(double position)
Gets the result of f(position)
|
int |
getSegment(double position) |
void |
setNodes(List<Node> nodes)
Sets nodes to be used by subsequent calls to
getPosition(double) and the other methods. |
void setNodes(List<Node> nodes)
getPosition(double) and the other methods.nodes - Vector getPosition(double position)
position - Vector get1stDerivative(double position)
position - double arcLength(double positionA,
double positionB)
positionA - lower limitpositionB - upper limitint getSegment(double position)
Copyright © 2010-2014. All Rights Reserved.