Initializes a new instance.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic Motion(
params T[] motion
)
Public Sub New (
ParamArray motion As T()
)
public:
Motion(
... array<T>^ motion
)
new :
motion : 'T[] -> MotionParameters
- motion
- Type: T
The description of the motion.
Exceptions| Exception | Condition |
|---|
| 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