Click or drag to resize

MotionT Constructor

Initializes a new instance.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.2.404.0 (20.2.404.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 .
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