Vector.angles_vectors

static Vector.angles_vectors(left, right)[source]

Compute both angles between corresponding pairs of two lists of vectors.

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

A list of vectors.

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

A list of vectors.

Returns:
list[float]

A list of angle pairs.

Examples

>>> Vector.angles_vectors([[1.0, 0.0, 0.0], [2.0, 0.0, 0.0]], [[0.0, 1.0, 0.0], [0.0, 0.0, 2.0]])
[(1.5707963267948966, 4.71238898038469), (1.5707963267948966, 4.71238898038469)]