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

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

public class DualMotionField
extends SimpleMotionField


Constructor Summary
DualMotionField(HalfSpaceBoundingCondition halfSpaceOne, MotionField one, MotionField two)
           
 
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

DualMotionField

public DualMotionField(HalfSpaceBoundingCondition halfSpaceOne,
                       MotionField one,
                       MotionField two)
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