subtract_vectors

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

Subtract one vector from another.

Parameters:
u[float, float, float] | compas.geometry.Vector

XYZ components of the first vector.

v[float, float, float] | compas.geometry.Vector

XYZ components of the second vector.

Returns:
[float, float, float]

The resulting vector.

Examples

>>>