subtract_vectors

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

Subtract one vector from another.

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

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

Returns

list – The resulting vector.

Examples

>>>