Click or drag to resize

Vector3fCrossProduct 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)
Since: 5.0
Syntax
public static Vector3f CrossProduct(
	Vector3f a,
	Vector3f b
)

Parameters

a
Type: Rhino.GeometryVector3f
First vector.
b
Type: Rhino.GeometryVector3f
Second vector.

Return Value

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.

See Also