Shear.from_matrix

classmethod Shear.from_matrix(matrix)[source]

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

Parameters:
matrixlist[list[float]]

The 4x4 transformation matrix.

Returns:
compas.geometry.Transformation

The transformation.