py3dframe.Transform.get_euler_angles#
- Transform.get_euler_angles(*, convention: int | None = None, seq: str = 'xyz', degrees: bool = False) ndarray [source]#
Get the Euler angles between the input frame and the output 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.
seq (str, optional) – The sequence of the Euler angles. Default is ‘xyz’.
degrees (bool, optional) – If True, the Euler angles will be in degrees. Default is False.
- Returns:
The Euler angles between the input frame and the output frame in the given convention with shape (3,).
- Return type:
numpy.ndarray