normalize_vector_xy
-
compas.geometry.
normalize_vector_xy
(vector)[source] Normalize a vector, assuming it lies in the XY-plane.
- Parameters
vector (sequence of float) – XY(Z) components of the vector.
- Returns
list – The normalized vector in the XY-plane (Z = 0.0)
Examples
>>>