public class ConstantMotionField extends SimpleMotionField
Constructor and Description |
---|
ConstantMotionField() |
Modifier and Type | Method and Description |
---|---|
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.
|
getPositions, getTimeWarper, setTimeWarper
public PointND getPosition(PointND initialPosition, double initialTime, double time)
MotionField
getPosition
in interface MotionField
getPosition
in class SimpleMotionField