Quaternion.conjugated

Quaternion.conjugated()[source]

Returns a conjugate quaternion.

Returns

compas.geometry.Quaternion – The conjugated quaternion.

Examples

>>> q = Quaternion(1.0, 1.0, 1.0, 1.0)
>>> p = q.conjugated()
>>> q
Quaternion(1.000, 1.000, 1.000, 1.000)
>>> p
Quaternion(1.000, -1.000, -1.000, -1.000)