scale_vectors_xy
- compas.geometry.scale_vectors_xy(vectors, factor)[source]
Scale multiple vectors by a given factor, assuming they lie in the XY plane.
- Parameters
vectors (sequence[[float, float] or [float, float, float] |
compas.geometry.Vector
]) – A list of vectors.factor (float) – The scaling factor.
- Returns
list[[float, float, 0.0]] – The scaled vectors in the XY plane.
Examples
>>>