AxesAlignedConstrainedComputeTransformation Method (Cartesian, AxisIndicator, Cartesian, AxisIndicator) |
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: 24.2.419.0 (24.2.419.0)
Syntax public static UnitQuaternion ComputeTransformation(
Cartesian principal,
AxisIndicator principalAxis,
Cartesian reference,
AxisIndicator referenceAxis
)
Public Shared Function ComputeTransformation (
principal As Cartesian,
principalAxis As AxisIndicator,
reference As Cartesian,
referenceAxis As AxisIndicator
) As UnitQuaternion
public:
static UnitQuaternion ComputeTransformation(
Cartesian principal,
AxisIndicator principalAxis,
Cartesian reference,
AxisIndicator referenceAxis
)
static member ComputeTransformation :
principal : Cartesian *
principalAxis : AxisIndicator *
reference : Cartesian *
referenceAxis : AxisIndicator -> UnitQuaternion
Parameters
- principal
- Type: AGI.Foundation.CoordinatesCartesian
The principal direction vector with which the principalAxis will be aligned. - principalAxis
- Type: AGI.Foundation.CoordinatesAxisIndicator
The axis along which the principal vector is aligned. - reference
- Type: AGI.Foundation.CoordinatesCartesian
The reference direction vector. The referenceAxis will be constrained to
minimize the angular separation from this vector. - referenceAxis
- Type: AGI.Foundation.CoordinatesAxisIndicator
The axis against which the reference vector is constrained.
Return Value
Type:
UnitQuaternionThe transformation to the aligned-constrained axes.
See Also