ClassesClasses | | Operators

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

quat_to_hom_mat3d( : : Quaternion : RotationMatrix)

Herror T_quat_to_hom_mat3d(const Htuple Quaternion, Htuple* RotationMatrix)

void QuatToHomMat3d(const HTuple& Quaternion, HTuple* RotationMatrix)

HHomMat3D HQuaternion::QuatToHomMat3d() const

static void HOperatorSet.QuatToHomMat3d(HTuple quaternion, out HTuple rotationMatrix)

HHomMat3D HQuaternion.QuatToHomMat3d()

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

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


ClassesClasses | | Operators