| NMathFunctionsCross(FloatVector, FloatVector, FloatVector) Method |
Computes the cross product
. Vectors
and
must have
at least length three. Elements beyond three are ignored for purposes of computing the cross product.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static void Cross(
FloatVector v,
FloatVector u,
FloatVector result
)
Public Shared Sub Cross (
v As FloatVector,
u As FloatVector,
result As FloatVector
)
public:
static void Cross(
FloatVector^ v,
FloatVector^ u,
FloatVector^ result
)
static member Cross :
v : FloatVector *
u : FloatVector *
result : FloatVector -> unit
Parameters
- v FloatVector
- 3-space vector
- u FloatVector
- 3-space vector
- result FloatVector
- orthogonal vector v X u
Exceptions Exception | Condition |
---|
NMathException | Thrown if any input vector has length less than 3. |
See Also