quat_to_hom_mat3dT_quat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3d (Operator)
Name
quat_to_hom_mat3dT_quat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3d
— Convert a quaternion into the corresponding rotation matrix.
Signature
Description
The operator quat_to_hom_mat3dquat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3dQuatToHomMat3d
converts a unit quaternion
QuaternionQuaternionQuaternionQuaternionquaternion
into its corresponding rotation matrix
RotationMatrixRotationMatrixRotationMatrixRotationMatrixrotationMatrix
.
The RotationMatrixRotationMatrixRotationMatrixRotationMatrixrotationMatrix
for a quaternion
is given by:
Attention
RotationMatrixRotationMatrixRotationMatrixRotationMatrixrotationMatrix
will only be a valid rotation matrix if
QuaternionQuaternionQuaternionQuaternionquaternion
is a unit quaternion.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
QuaternionQuaternionQuaternionQuaternionquaternion
(input_control) quaternion →
HQuaternion, HTupleHTupleHtuple (real) (double) (double) (double)
Rotation quaternion.
RotationMatrixRotationMatrixRotationMatrixRotationMatrixrotationMatrix
(output_control) hom_mat3d →
HHomMat3D, HTupleHTupleHtuple (real) (double) (double) (double)
Rotation matrix.
Possible Predecessors
axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuat
,
quat_composequat_composeQuatComposeQuatComposeQuatCompose
Possible Successors
affine_trans_point_3daffine_trans_point_3dAffineTransPoint3dAffineTransPoint3dAffineTransPoint3d
See also
axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuat
,
quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dQuatRotatePoint3d
,
quat_to_posequat_to_poseQuatToPoseQuatToPoseQuatToPose
,
quat_normalizequat_normalizeQuatNormalizeQuatNormalizeQuatNormalize
,
quat_conjugatequat_conjugateQuatConjugateQuatConjugateQuatConjugate
,
quat_interpolatequat_interpolateQuatInterpolateQuatInterpolateQuatInterpolate
Module
Foundation