Rotation.from_matrix

classmethod Rotation.from_matrix(matrix)

Creates a transformation from a list[list[float]] object.

Parameters

matrix (list[list[float]]) – The 4x4 transformation matrix.

Returns

Transformation – The transformation.