Translation.from_vector
-
classmethod
Translation.
from_vector
(vector)[source] Create a translation transformation from a translation vector.
- Parameters
vector (
list
orcompas.geometry.Vector
) – The translation vector.- Returns
Translation – The translation transformation.