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:
- vectorssequence[[float, float] or [float, float, float] |
compas.geometry.Vector
] A list of vectors.
- factorfloat
The scaling factor.
- vectorssequence[[float, float] or [float, float, float] |
- Returns:
- list[[float, float, 0.0]]
The scaled vectors in the XY plane.
Examples
>>>