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)
Get the segment 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 - the nodesVector getPosition(double position)
position - the position to interpolateVector get1stDerivative(double position)
position - the position to interpolatedouble arcLength(double positionA,
double positionB)
positionA - lower limitpositionB - upper limitint getSegment(double position)
position - the positionCopyright © 2010-2014. All Rights Reserved.