Click or drag to resize

MotionTItem Property

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.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public T this[
	int index
] { get; }

Parameters

index
Type: SystemInt32
The index of the motion component to retrieve.

Return Value

Type: T
The requested motion component.

Implements

IMotionT, TDerivativeItemInt32
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when the index is not between zero and the Order inclusive.
See Also