Calculates cross product of two vectors.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static Vector3 Cross(
	Vector3 vector1,
	Vector3 vector2
)

Parameters

vector1
Type: AForge.Math..::.Vector3
First vector to use for cross product calculation.
vector2
Type: AForge.Math..::.Vector3
Second vector to use for cross product calculation.

Return Value

Returns cross product of the two specified vectors.

See Also