py3dframe.Transform.get_rotation#
- Transform.get_rotation(*, convention: int | None = None) Rotation [source]#
Get the rotation 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.
- Returns:
The rotation between the input frame and the output frame in the given convention.
- Return type:
Rotation