movements
Class PolynomialMovement
java.lang.Object
movements.SingleDimensionalMovement
movements.PolynomialMovement
- All Implemented Interfaces:
- java.io.Serializable
- class PolynomialMovement
- extends SingleDimensionalMovement
|
Method Summary |
(package private) double |
GetPosition(int ticksIntoMovement)
Given a point of time as the number of 'ticks' after the start
of the movement, this method returns the position at that point of time. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
position
private double position
speed
private double speed
acceleration
private double acceleration
PolynomialMovement
PolynomialMovement(double position)
PolynomialMovement
PolynomialMovement(double position,
double speed)
PolynomialMovement
PolynomialMovement(double position,
double speed,
double acceleration)
PolynomialMovement
PolynomialMovement()
GetPosition
double GetPosition(int ticksIntoMovement)
- Description copied from class:
SingleDimensionalMovement
- Given a point of time as the number of 'ticks' after the start
of the movement, this method returns the position at that point of time.
If the 'tick' parameter is less than zero or is greater than the
number of ticks in the movement then the result of this method
is undefined.
- Specified by:
GetPosition in class SingleDimensionalMovement
Copyright © 2003 Nigel Westbury