| Operatoren |
quat_compose — Multiplikation zweier Quaternionen.
quat_compose( : : QuaternionLeft, QuaternionRight : QuaternionComposed)
Der Operator quat_compose multipliziert die zwei Quaternionen QuaternionLeft und QuaternionRight und gibt das Ergebnis als QuaternionComposed zurück.
Ein Quaternion x ist gegeben durch x = x_{0} + x_{1}*i + x_{2}*j + x_{3}*k. In HALCON wird ein Quaternion durch ein Tupel mit vier Werten repräsentiert: [x_{0},x_{1},x_{2},x_{3}].
Das Produkt zweier Quaternionen x und y ist wie folgt definiert:
x*y = (x_{0}*y_{0} - x_{1}*y_{1} - x_{2}*y_{2} - x_{3}*y_{3}) +
(x_{0}*y_{1} + x_{1}*y_{0} + x_{2}*y_{3} - x_{3}*y_{2})*i +
(x_{0}*y_{2} + x_{1}*y_{3} + x_{2}*y_{0} - x_{3}*y_{1})*j +
(x_{0}*y_{3} + x_{1}*y_{2} + x_{2}*y_{1} - x_{3}*y_{0})*k
Daraus folgt, dass die Multiplikation zweier Quaternionen nicht kommutativ ist, d.h. x*y != y*x.
Linkes Quaternion.
Rechtes Quaternion.
Produkt der Eingabequaternionen.
quat_to_hom_mat3d, quat_to_pose, quat_rotate_point_3d
axis_angle_to_quat, quat_to_hom_mat3d, quat_rotate_point_3d, quat_normalize, quat_conjugate
Foundation
| Operatoren |