MotionT, TDerivative Structure |
Namespace: AGI.Foundation
public struct Motion<T, TDerivative> : IMotion<T, TDerivative>, IEquatable<Motion<T, TDerivative>>
The MotionT, TDerivative type exposes the following members.
Name | Description | |
---|---|---|
MotionT, TDerivative |
Initializes a new instance.
|
Name | Description | |
---|---|---|
FirstDerivative |
Gets the first derivative, if it is available.
| |
Item |
Gets the indicated derivative of the motion.
Index 1 retrieves the first derivative, if it exists. Index 2 retrieves the second
derivative, if it exists. The number of available derivatives is indicated by the
Order property.
| |
Order |
Gets the number of derivatives described by this instance.
| |
SecondDerivative |
Gets the second derivative, if it is available.
| |
Value |
Gets the coordinate value.
|
Name | Description | |
---|---|---|
Equals(MotionT, TDerivative) |
Indicates whether another instance of this type is exactly equal to this instance.
| |
Equals(Object) |
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
GetHashCode |
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
Equality |
Returns if the two instances are exactly equal.
| |
Inequality |
Returns if the two instances are not exactly equal.
|