AxesAlignedConstrainedComputeTransformation Method (MotionUnitCartesian, Cartesian, AxisIndicator, MotionUnitCartesian, Cartesian, 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: 24.3.420.0 (24.3.420.0)
Syntax public static Motion<UnitQuaternion, Cartesian> ComputeTransformation(
Motion<UnitCartesian, Cartesian> principal,
AxisIndicator principalAxis,
Motion<UnitCartesian, Cartesian> reference,
AxisIndicator referenceAxis,
int order
)
Public Shared Function ComputeTransformation (
principal As Motion(Of UnitCartesian, Cartesian),
principalAxis As AxisIndicator,
reference As Motion(Of UnitCartesian, Cartesian),
referenceAxis As AxisIndicator,
order As Integer
) As Motion(Of UnitQuaternion, Cartesian)
public:
static Motion<UnitQuaternion, Cartesian> ComputeTransformation(
Motion<UnitCartesian, Cartesian> principal,
AxisIndicator principalAxis,
Motion<UnitCartesian, Cartesian> reference,
AxisIndicator referenceAxis,
int order
)
static member ComputeTransformation :
principal : Motion<UnitCartesian, Cartesian> *
principalAxis : AxisIndicator *
reference : Motion<UnitCartesian, Cartesian> *
referenceAxis : AxisIndicator *
order : int -> Motion<UnitQuaternion, Cartesian>
Parameters
- principal
- Type: AGI.FoundationMotionUnitCartesian, Cartesian
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.FoundationMotionUnitCartesian, Cartesian
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. - 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.
Return Value
Type:
MotionUnitQuaternion,
CartesianThe transformation to the aligned-constrained axes.
See Also