normalize_vectors_xy

compas.geometry.normalize_vectors_xy(vectors)[source]

Normalise multiple vectors, assuming they lie in the XY plane.

Parameters

vectors (sequence[[float, float] or [float, float, float] | Vector]) – A list of vectors.

Returns

list[[float, float, 0.0]] – The normalized vectors in the XY plane.

Examples

>>>