edu.stanford.rsl.konrad.geometry.motion
Class CompressionMotionField
java.lang.Object
edu.stanford.rsl.konrad.geometry.motion.SimpleMotionField
edu.stanford.rsl.konrad.geometry.motion.CompressionMotionField
- All Implemented Interfaces:
- MotionField
public class CompressionMotionField
- extends SimpleMotionField
Models a MotionField as two points and a normal vector. The
- Author:
- akmaier
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressionMotionField
public CompressionMotionField(PointND min,
PointND max,
SimpleVector direction)
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