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

>>>