Click or drag to resize

MotionT Structure

Describes motion, including a coordinate and optionally one or more derivatives.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public struct Motion<T> : IMotion<T, T>, 
	IEquatable<Motion<T>>

Type Parameters

T
The coordinate type used to describe the motion.

The MotionT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyFirstDerivative
Gets the first derivative, if it is available.
Public propertyItem
Gets the indicated component of the motion. Index 0 retrieves the coordinate value. 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.
Public propertyOrder
Gets the number of derivatives described by this instance.
Public propertySecondDerivative
Gets the second derivative, if it is available.
Public propertyValue
Gets the value of the coordinate.
Top
Methods
  NameDescription
Public methodEquals(MotionT)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
See Also