maspack.interpolation
Class ParabolicInterpolation
java.lang.Object
maspack.interpolation.ParabolicInterpolation
public class ParabolicInterpolation
- extends java.lang.Object
Written to provide interpolation of a path based on three knot points.
- Author:
- chad
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParabolicInterpolation
public ParabolicInterpolation()
setTimeofKnots
public void setTimeofKnots(double t0,
double t1,
double t2)
printTime
public void printTime()
interpolate
public double interpolate(double t,
double[] x)
main
public static void main(java.lang.String[] args)