T - The coordinate type used to describe the motion.TDerivative - The derivative type used to describe the motion.public interface IMotion<T,TDerivative>
| Modifier and Type | Method and Description | 
|---|---|
TDerivative | 
get(int index)
Gets the indicated derivative of the motion. 
 | 
TDerivative | 
getFirstDerivative()
Gets the first derivative, if it is available. 
 | 
int | 
getOrder()
Gets the number of derivatives described by this instance. 
 | 
TDerivative | 
getSecondDerivative()
Gets the second derivative, if it is available. 
 | 
T | 
getValue()
Gets the value of the coordinate. 
 | 
T getValue()
TDerivative getFirstDerivative()
ArgumentOutOfRangeException - This motion instance does not contain a first derivative.TDerivative getSecondDerivative()
ArgumentOutOfRangeException - This motion instance does not contain a second derivative.TDerivative get(int index)
Order (get) property.
 Requesting index 0 will result in an ArgumentOutOfRangeException.
index - The index of the derivative to retrieve.int getOrder()