STK Components for .NET 2020 r3

## AxesAlignedConstrainedComputeTransformation Method (MotionUnitCartesian, Cartesian, MotionUnitCartesian, Cartesian, 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.

Syntax

public static Motion<UnitQuaternion, Cartesian> ComputeTransformation( Motion<UnitCartesian, Cartesian> principal, Motion<UnitCartesian, Cartesian> reference, int order )

- principal
- Type: AGI.FoundationMotionUnitCartesian, Cartesian

The principal direction vector with which the X-axis will be aligned. - reference
- Type: AGI.FoundationMotionUnitCartesian, Cartesian

The reference direction vector. The Z-axis will be constrained to minimize the angular separation from this vector. - order
- 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.

The transformation to the aligned-constrained axes.

See Also