py3dframe.FrameTransform.get_rotation_matrix#

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

Get the rotation matrix representation of 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 matrix between the input frame and the output frame in the specified convention with shape (3, 3).

Return type:

numpy.ndarray