translation_from_matrix

compas.geometry.translation_from_matrix(M)[source]

Returns the 3 values of translation from the matrix M.

Parameters:
Mlist[list[float]]

A 4-by-4 transformation matrix.

Returns:
[float, float, float]

The translation vector.