quaternion_to_axis#

static GeometryOperators.quaternion_to_axis(q)[source]#

Convert a quaternion to a rotated frame defined by X, Y, and Z axes.

Parameters:
qList

List of [q1, q2, q3, q4] coordinates for the quaternion.

Returns:
tuple

[Xx, Xy, Xz], [Yx, Yy, Yz], [Zx, Zy, Zz] of the three axes (normalized).