Translation.from_vector

classmethod Translation.from_vector(vector)[source]

Create a translation transformation from a translation vector.

Parameters:
vector[float, float, float] | compas.geometry.Vector

The translation vector.

Returns:
compas.geometry.Translation

The translation transformation.