Click or drag to resize
DigitalRuneVectorFAreNumericallyEqual Method (VectorF, VectorF)
Determines whether two vectors are equal (regarding the tolerance EpsilonF).

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static bool AreNumericallyEqual(
	VectorF vector1,
	VectorF vector2
)

Parameters

vector1
Type: DigitalRune.Mathematics.AlgebraVectorF
The first vector.
vector2
Type: DigitalRune.Mathematics.AlgebraVectorF
The second vector.

Return Value

Type: Boolean
if the vectors are equal (within the tolerance EpsilonF); otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptionvector1 or vector2 is .
Remarks
The two vectors are compared component-wise. If the differences of the components are less than EpsilonF the vectors are considered as being equal.
See Also