Click or drag to resize

MotionT, TDerivative 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, TDerivative> : IMotion<T, TDerivative>, 
	IEquatable<Motion<T, TDerivative>>

Type Parameters

T
The coordinate type used to describe the motion.
TDerivative
The derivative type used to describe the motion.

The MotionT, TDerivative type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyFirstDerivative
Gets the first derivative, if it is available.
Public propertyItem
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.
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 coordinate value.
Top
Methods
  NameDescription
Public methodEquals(MotionT, TDerivative)
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