Vector.cross_vectors
- static Vector.cross_vectors(left, right)[source]
Compute the cross product 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.
- leftlist[[float, float, float] |
- Returns:
- list[
compas.geometry.Vector
] A list of cross products.
- list[
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)]