angle_with#

Rotation.angle_with(other: Rotation, degrees: bool = False) ndarray[source]#

Return the angles of rotation transforming the rotations to the other rotations.

Parameters:
other

Other rotations.

degrees

If True, the angles are returned in degrees. Default is False.

Returns:
angles

Angles of rotation in radians (degrees=False) or degrees (degrees=True).