maspack.interpolation
Class ParabolicInterpolation

java.lang.Object
  extended by maspack.interpolation.ParabolicInterpolation

public class ParabolicInterpolation
extends java.lang.Object

Written to provide interpolation of a path based on three knot points.

Author:
chad

Constructor Summary
ParabolicInterpolation()
           
 
Method Summary
 double interpolate(double t, double[] x)
           
static void main(java.lang.String[] args)
           
 void printTime()
           
 void setTimeofKnots(double t0, double t1, double t2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParabolicInterpolation

public ParabolicInterpolation()
Method Detail

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)