public abstract class SimpleMotionField extends java.lang.Object implements MotionField, java.io.Serializable
Constructor and Description |
---|
SimpleMotionField() |
Modifier and Type | Method and Description |
---|---|
abstract 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.
|
java.util.ArrayList<PointND> |
getPositions(PointND initialPosition,
double initialTime,
double... times) |
TimeWarper |
getTimeWarper() |
void |
setTimeWarper(TimeWarper warp) |
public abstract PointND getPosition(PointND initialPosition, double initialTime, double time)
MotionField
getPosition
in interface MotionField
public java.util.ArrayList<PointND> getPositions(PointND initialPosition, double initialTime, double... times)
getPositions
in interface MotionField
public TimeWarper getTimeWarper()
getTimeWarper
in interface MotionField
public void setTimeWarper(TimeWarper warp)
setTimeWarper
in interface MotionField