Operator Reference
quat_compose (Operator)
quat_compose — Multiply two quaternions.
Signature
quat_compose( : : QuaternionLeft, QuaternionRight : QuaternionComposed)
Description
The operator quat_compose multiplies the two quaternions
QuaternionLeft and QuaternionRight and returns the
result in QuaternionComposed.
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
QuaternionLeft (input_control) quaternion → (real)
Left quaternion.
QuaternionRight (input_control) quaternion → (real)
Right quaternion.
QuaternionComposed (output_control) quaternion → (real)
Product of the input quaternions.
Possible Predecessors
Possible Successors
quat_to_hom_mat3d,
quat_to_pose,
quat_rotate_point_3d
See also
axis_angle_to_quat,
quat_to_hom_mat3d,
quat_rotate_point_3d,
quat_normalize,
quat_conjugate,
dual_quat_compose
Module
Foundation