normalize_vector
-
compas.geometry.
normalize_vector
(vector)[source] Normalise a given vector.
- Parameters
vector (list, tuple) – XYZ components of the vector.
- Returns
list – The normalized vector.
Examples
>>>
compas.geometry.
normalize_vector
(vector)[source]Normalise a given vector.
vector (list, tuple) – XYZ components of the vector.
list – The normalized vector.
Examples
>>>
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev