| Vector3DCross Method |
Calculates the cross product of two vectors.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector3D Cross(
Vector3D vector1,
Vector3D vector2
)
Public Shared Function Cross (
vector1 As Vector3D,
vector2 As Vector3D
) As Vector3D
public:
static Vector3D Cross(
Vector3D vector1,
Vector3D vector2
)
static member Cross :
vector1 : Vector3D *
vector2 : Vector3D -> Vector3D
Parameters
- vector1
- Type: DigitalRune.Mathematics.AlgebraVector3D
The first vector. - vector2
- Type: DigitalRune.Mathematics.AlgebraVector3D
The second vector.
Return Value
Type:
Vector3DThe cross product.
Remarks
The method calculates the cross product (also known as vector product or outer product).
See Also