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 (list of list) – A list of vectors.

  • factor (float) – The scaling factor.

Returns

vectors (list of list) – The scaled vectors.

Examples

>>>