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

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

public class MovingCenterRotationMotionField
extends RotationMotionField


Constructor Summary
MovingCenterRotationMotionField(PointND transformationCenter, MotionField centerTransform, SimpleVector rotationAxis, double angle)
           
 
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.RotationMotionField
getTransform
 
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

MovingCenterRotationMotionField

public MovingCenterRotationMotionField(PointND transformationCenter,
                                       MotionField centerTransform,
                                       SimpleVector rotationAxis,
                                       double angle)
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
Overrides:
getPosition in class RotationMotionField
Returns:
the position at the time