py3dframe.Frame.get_global_euler_angles#

Frame.get_global_euler_angles(*, convention: int | None = None, degrees: bool = False, seq: str = 'xyz') ndarray[source]#

Get the Euler angles between the global frame and the frame in the given convention.

Parameters:
  • convention (Optional[int], optional) – The convention to express the transformation. It can be an integer between 0 and 7 or a string corresponding to the conventions. Default is the convention of the frame.

  • degrees (bool, optional) – If True, the Euler angles are returned in degrees. Default is False.

  • seq (str, optional) – The axes of the Euler angles. Default is “xyz”.

Returns:

The Euler angles between the global frame and the frame in the given convention with shape (3,).

Return type:

numpy.ndarray