py3dframe.FrameTransform.get_translation#

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

Get the translation vector 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 translation vector between the input frame and the output frame in the specified convention with shape (3, 1).

Return type:

numpy.ndarray