edu.stanford.rsl.konrad.geometry.motion
Class ConstantMotionField

java.lang.Object
  extended by edu.stanford.rsl.konrad.geometry.motion.SimpleMotionField
      extended by edu.stanford.rsl.konrad.geometry.motion.ConstantMotionField
All Implemented Interfaces:
MotionField

public class ConstantMotionField
extends SimpleMotionField


Constructor Summary
ConstantMotionField()
           
 
Method Summary
 PointND getPosition(PointND initialPosition, double initialTime, double time)
          Determines the position at a given initialPosition and a given time where time = 0 is the initial position and time = 1 is the end position.
 
Methods inherited from class edu.stanford.rsl.konrad.geometry.motion.SimpleMotionField
getPositions, getTimeWarper, setTimeWarper
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantMotionField

public ConstantMotionField()
Method Detail

getPosition

public PointND getPosition(PointND initialPosition,
                           double initialTime,
                           double time)
Description copied from interface: MotionField
Determines the position at a given initialPosition and a given time where time = 0 is the initial position and time = 1 is the end position.

Specified by:
getPosition in interface MotionField
Specified by:
getPosition in class SimpleMotionField
Returns:
the position at the time