Rotation.as_euler_angles

giant.rotations.rotation:

Rotation.as_euler_angles(order='xyz')[source]

Returns the rotation represent as euler angles in the requested order.

Parameters:

order (Literal['xyz', 'xzy', 'xyx', 'xzx', 'yxz', 'yzx', 'yxy', 'yzy', 'zxy', 'zyx', 'zyz', 'zxz']) – The order of the angles

Returns:

The angles as a tuple of 3 floats.

Return type:

tuple[float, float, float]