us.ihmc.utilities.math.trajectories
Class LinearInterpolater
java.lang.Object
us.ihmc.utilities.math.trajectories.LinearInterpolater
public class LinearInterpolater
- extends java.lang.Object
Constructor Summary |
LinearInterpolater(java.util.ArrayList<java.lang.Double> xPointsArrayList)
|
LinearInterpolater(java.util.ArrayList<java.lang.Double> xPointsArrayList,
java.util.ArrayList<java.lang.Double> yPointsArrayList)
|
LinearInterpolater(double[] xPoints,
double[] yPoints)
xPoints must be in increasing order |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearInterpolater
public LinearInterpolater(double[] xPoints,
double[] yPoints)
- xPoints must be in increasing order
- Parameters:
xPoints
- double[]yPoints
- double[]
LinearInterpolater
public LinearInterpolater(java.util.ArrayList<java.lang.Double> xPointsArrayList,
java.util.ArrayList<java.lang.Double> yPointsArrayList)
throws java.lang.Exception
- Throws:
java.lang.Exception
LinearInterpolater
public LinearInterpolater(java.util.ArrayList<java.lang.Double> xPointsArrayList)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPoint
public double getPoint(double xPointValue)
getXpointsCopy
public java.util.ArrayList<java.lang.Double> getXpointsCopy()
getYpointsCopy
public java.util.ArrayList<java.lang.Double> getYpointsCopy()
getMaxX
public double getMaxX()
getMinX
public double getMinX()
main
public static void main(java.lang.String[] args)