public class PlanarMotionField extends SimpleMotionField
Constructor and Description |
---|
PlanarMotionField(MotionField fullMotion,
SimpleVector planeNormal) |
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.
|
java.util.ArrayList<PointND> |
getPositions(PointND initialPosition,
double initialTime,
double... times) |
TimeWarper |
getTimeWarper() |
void |
setTimeWarper(TimeWarper warp) |
public PlanarMotionField(MotionField fullMotion, SimpleVector planeNormal)
public PointND getPosition(PointND initialPosition, double initialTime, double time)
MotionField
getPosition
in interface MotionField
getPosition
in class SimpleMotionField
public java.util.ArrayList<PointND> getPositions(PointND initialPosition, double initialTime, double... times)
getPositions
in interface MotionField
getPositions
in class SimpleMotionField
public TimeWarper getTimeWarper()
getTimeWarper
in interface MotionField
getTimeWarper
in class SimpleMotionField
public void setTimeWarper(TimeWarper warp)
setTimeWarper
in interface MotionField
setTimeWarper
in class SimpleMotionField