py3dframe.FrameTransform.get_rotation#

FrameTransform.get_rotation(*, convention=None)[source]#

Get the rotation between the input frame and the output frame in a specified convention.

Parameters:

convention (Optional[int], optional) – Integer in [0, 7] selecting the convention to express the transformation between the input frame and the output frame. Default is the convention of the transformation.

Returns:

The rotation between the input frame and the output frame in the specified convention.

Return type:

Rotation