Translation.from_matrix
- classmethod Translation.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.
Creates a transformation from a list[list[float]] object.
matrix (list[list[float]]) – The 4x4 transformation matrix.
Transformation
– The transformation.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev