Translation.from_vector

classmethod Translation.from_vector(vector)

Create a translation transformation from a translation vector.

Parameters

vector ([float, float, float] | Vector) – The translation vector.

Returns

Translation – The translation transformation.