quat_composeT_quat_composeQuatComposeQuatCompose (Operator)
Name
quat_composeT_quat_composeQuatComposeQuatCompose
— Multiply two quaternions.
Signature
Description
The operator quat_composequat_composeQuatComposeQuatComposeQuatCompose
multiplies the two quaternions
QuaternionLeftQuaternionLeftQuaternionLeftQuaternionLeftquaternionLeft
and QuaternionRightQuaternionRightQuaternionRightQuaternionRightquaternionRight
and returns the
result in QuaternionComposedQuaternionComposedQuaternionComposedQuaternionComposedquaternionComposed
.
A quaternion is given by
.
In HALCON, a quaternion is represented by a four value tuple:
.
The product of two quaternions and is defined as:
As a consequence, the multiplication of two quaternions is not
commutative, i.e. .
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
QuaternionLeftQuaternionLeftQuaternionLeftQuaternionLeftquaternionLeft
(input_control) quaternion →
HQuaternion, HTupleHTupleHtuple (real) (double) (double) (double)
Left quaternion.
QuaternionRightQuaternionRightQuaternionRightQuaternionRightquaternionRight
(input_control) quaternion →
HQuaternion, HTupleHTupleHtuple (real) (double) (double) (double)
Right quaternion.
QuaternionComposedQuaternionComposedQuaternionComposedQuaternionComposedquaternionComposed
(output_control) quaternion →
HQuaternion, HTupleHTupleHtuple (real) (double) (double) (double)
Product of the input quaternions.
Possible Predecessors
axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuat
Possible Successors
quat_to_hom_mat3dquat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3dQuatToHomMat3d
,
quat_to_posequat_to_poseQuatToPoseQuatToPoseQuatToPose
,
quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dQuatRotatePoint3d
See also
axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuat
,
quat_to_hom_mat3dquat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3dQuatToHomMat3d
,
quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dQuatRotatePoint3d
,
quat_normalizequat_normalizeQuatNormalizeQuatNormalizeQuatNormalize
,
quat_conjugatequat_conjugateQuatConjugateQuatConjugateQuatConjugate
,
dual_quat_composedual_quat_composeDualQuatComposeDualQuatComposeDualQuatCompose
Module
Foundation