axis_angle_vector_from_matrix

compas.geometry.axis_angle_vector_from_matrix(M)[source]

Returns the axis-angle vector of the rotation matrix M.

Parameters

M (list[list[float]]) – The 4-by-4 transformation matrix.

Returns

[float, float, float] – The axis-angle vector.