scale_vectors
- compas.geometry.scale_vectors(vectors, factor)[source]
Scale multiple vectors by a given factor.
- Parameters:
- vectorssequence[[float, float, float] |
compas.geometry.Vector
] A list of vectors.
- factorfloat
The scaling factor.
- vectorssequence[[float, float, float] |
- Returns:
- list[[float, float, float]]
The scaled vectors.
Examples
>>>