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.
- other[float, float, float] |
- Returns:
compas.geometry.Vector
The cross product.
Examples
>>> u = Vector(1.0, 0.0, 0.0) >>> v = Vector(0.0, 1.0, 0.0) >>> w = u.cross(v) >>> print(w) Vector(x=0.000, y=0.000, z=1.000)