NASA World Wind

gov.nasa.worldwind.animation
Class ScheduledInterpolator

java.lang.Object
  extended by gov.nasa.worldwind.animation.ScheduledInterpolator
All Implemented Interfaces:
Interpolator
Direct Known Subclasses:
SmoothInterpolator

public class ScheduledInterpolator
extends Object
implements Interpolator


Constructor Summary
ScheduledInterpolator(Date startTime, Date stopTime)
           
ScheduledInterpolator(Date startTime, long lengthMillis)
           
ScheduledInterpolator(long lengthMillis)
           
 
Method Summary
 double nextInterpolant()
          Returns the next interpolant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduledInterpolator

public ScheduledInterpolator(Date startTime,
                             Date stopTime)

ScheduledInterpolator

public ScheduledInterpolator(Date startTime,
                             long lengthMillis)

ScheduledInterpolator

public ScheduledInterpolator(long lengthMillis)
Method Detail

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.

NASA World Wind