Vector.cross_vectors

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

Compute the cross product of two lists of vectors.

Parameters
Returns

list[compas.geometry.Vector] – A list of cross products.

Examples

>>> Vector.cross_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]])
[Vector(0.000, 0.000, 1.000), Vector(0.000, -4.000, 0.000)]