gov.nasa.worldwind.animation
Class ScheduledInterpolator
java.lang.Object
gov.nasa.worldwind.animation.ScheduledInterpolator
- All Implemented Interfaces:
- Interpolator
- Direct Known Subclasses:
- SmoothInterpolator
public class ScheduledInterpolator
- extends Object
- implements Interpolator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScheduledInterpolator
public ScheduledInterpolator(Date startTime,
Date stopTime)
ScheduledInterpolator
public ScheduledInterpolator(Date startTime,
long lengthMillis)
ScheduledInterpolator
public ScheduledInterpolator(long lengthMillis)
nextInterpolant
public double nextInterpolant()
- Description copied from interface:
Interpolator
- Returns the next interpolant
- Specified by:
nextInterpolant in interface Interpolator
- Returns:
- a value between 0 and 1 that represents the next position of the interpolant.