java.lang.Object
com.arranger.jarl.util.InterpolateUtil
- public class InterpolateUtil
- extends java.lang.Object
InterpolateUtil created on Feb 21, 2003
|
Method Summary |
static InterpolationPair[] |
createSegmentPairs(java.awt.geom.Point2D[] points)
|
static InterpolationPair |
getSegment(double x,
InterpolationPair[] segmentPairs)
|
static double |
interpolate(double x1,
double x2,
double y1,
double y2,
double currentX)
|
static double |
interpolate(com.arranger.jarl.base.ITimedJarlObject timedObj,
com.arranger.jarl.base.Time currentTime)
Get the pct into rendering this timedObj |
static double |
interpolate(com.arranger.jarl.base.Time startTime,
com.arranger.jarl.base.Time endTime,
double startValue,
double endValue,
com.arranger.jarl.base.Time currentTime)
Based on the current time interpolate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterpolateUtil
public InterpolateUtil()
createSegmentPairs
public static InterpolationPair[] createSegmentPairs(java.awt.geom.Point2D[] points)
getSegment
public static InterpolationPair getSegment(double x,
InterpolationPair[] segmentPairs)
interpolate
public static double interpolate(com.arranger.jarl.base.ITimedJarlObject timedObj,
com.arranger.jarl.base.Time currentTime)
- Get the pct into rendering this timedObj
interpolate
public static double interpolate(com.arranger.jarl.base.Time startTime,
com.arranger.jarl.base.Time endTime,
double startValue,
double endValue,
com.arranger.jarl.base.Time currentTime)
- Based on the current time interpolate
interpolate
public static double interpolate(double x1,
double x2,
double y1,
double y2,
double currentX)