from_axes_angles#

classmethod AxAngle.from_axes_angles(axes: Vector3d | ndarray | list | tuple, angles: ndarray | list | tuple | float, degrees: bool = False) AxAngle[source]#

Initialize from axes and angles.

Parameters:
axes

Axes of rotation.

angles

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

degrees

If True, the given angles are assumed to be in degrees. Default is False.

Returns:
v

Axis-angle instance of the axes and angles.