Vector.cross
- Vector.cross(other)[source]
The cross product of this vector and another vector.
- Parameters
other ([float, float, float] |
compas.geometry.Vector
) – The other vector.- Returns
compas.geometry.Vector
– The cross product.
Examples
>>> u = Vector(1.0, 0.0, 0.0) >>> v = Vector(0.0, 1.0, 0.0) >>> u.cross(v) Vector(0.000, 0.000, 1.000)