M_Rhino_Geometry_Vector3f_CrossProduct - mcneel/rhinocommon-api-docs GitHub Wiki
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) Version: Rhino 6.0
C#
public static Vector3f CrossProduct(
Vector3f a,
Vector3f b
)
VB
Public Shared Function CrossProduct (
a As Vector3f,
b As Vector3f
) As Vector3f
- a
- Type: Rhino.Geometry.Vector3f
First vector. - b
- Type: Rhino.Geometry.Vector3f
Second vector.
Type: Vector3f
A 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.
Supported in: 6.0.16224.21491, 5D58w