Click or drag to resize

MotionT, TDerivativeItem Property

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.

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

Parameters

index
Type: SystemInt32
The index of the derivative to retrieve.

Return Value

Type: TDerivative
The requested derivative.

Implements

IMotionT, TDerivativeItemInt32
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when the index is less than one or greater than the Order. This exception can also be thrown if this object does not contain any derivatives.
Remarks
Requesting index 0 will result in an ArgumentOutOfRangeException.
See Also