add_vectors

compas.geometry.add_vectors(u, v)[source]

Add two vectors.

Parameters
  • u (sequence of float) – XYZ components of the first vector.

  • v (sequence of float) – XYZ components of the second vector.

Returns

list – The resulting vector.