quaternion_to_axis_angle#

static GeometryOperators.quaternion_to_axis_angle(q)[source]#

Convert a quaternion to the axis angle rotation formulation.

Parameters:
qList

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

Returns:
tuple

([ux, uy, uz], theta) containing the rotation axes expressed as X, Y, Z components of the unit vector u and the rotation angle theta expressed in radians.