multiply_vectors_xy

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

Element-wise multiplication of two vectors assumed to lie in the XY plane.

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

The XY(Z) components of the first vector.

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

The XY(Z) components of the second vector.

Returns:
[float, float, 0.0]

Resulting vector in the XY plane.

Examples

>>>