Click or drag to resize

Motion<T> Constructor

Initializes a new instance.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public Motion(
	params T[] motion
)

Parameters

motion
Type:T[]
The description of the motion.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when the parameter motion is null.
InvalidOperationException Thrown when the motion does not contain any values.
Remarks
The first array element describes the value of the coordinate. The second describes the first derivative, the third describes the second derivative, and so on. The array must have at least one element.
See Also