Package 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 java.lang.Object implements Interpolator
-
-
Constructor Summary
Constructors Constructor Description ScheduledInterpolator(long lengthMillis)
ScheduledInterpolator(java.util.Date startTime, long lengthMillis)
ScheduledInterpolator(java.util.Date startTime, java.util.Date stopTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
nextInterpolant()
Returns the next interpolant
-
-
-
Method Detail
-
nextInterpolant
public double nextInterpolant()
Description copied from interface:Interpolator
Returns the next interpolant- Specified by:
nextInterpolant
in interfaceInterpolator
- Returns:
- a value between 0 and 1 that represents the next position of the interpolant.
-
-