RhinoCommon API
Vector3dCrossProduct Method |
Computes the cross product (or vector product, or exterior product) of two vectors.
This operation is not commutative.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Vector3d CrossProduct( Vector3d a, Vector3d b )
Public Shared Function CrossProduct ( a As Vector3d, b As Vector3d ) As Vector3d
Parameters
- a
- Type: Rhino.GeometryVector3d
First vector. - b
- Type: Rhino.GeometryVector3d
Second vector.
Return Value
Type: Vector3dA new vector that is perpendicular to both a and b,
has Length == a.Length * b.Length and
with a result that is oriented following the right hand rule.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8