Click or drag to resize

AxesAlignedConstrainedComputeTransformation Method (MotionCartesian, AxisIndicator, MotionCartesian, AxisIndicator, Int32)

Given a principal and reference vector expressed in the same set of axes, computes a transformation that will take a vector expressed in that set of axes and expresses it in the aligned-constrained axes.

Namespace:  AGI.Foundation.Geometry
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
public static Motion<UnitQuaternion, Cartesian> ComputeTransformation(
	Motion<Cartesian> principal,
	AxisIndicator principalAxis,
	Motion<Cartesian> reference,
	AxisIndicator referenceAxis,
	int order


Type: AGI.FoundationMotionCartesian
The principal direction vector with which the principalAxis will be aligned.
Type: AGI.Foundation.CoordinatesAxisIndicator
The axis along which the principal vector is aligned.
Type: AGI.FoundationMotionCartesian
The reference direction vector. The referenceAxis will be constrained to minimize the angular separation from this vector.
Type: AGI.Foundation.CoordinatesAxisIndicator
The axis against which the reference vector is constrained.
Type: SystemInt32
The order of the highest derivative to compute. To compute just the rotation, pass 0 for this value. To compute rotational velocity as well, pass 1.

Return Value

Type: MotionUnitQuaternion, Cartesian
The transformation to the aligned-constrained axes.
See Also