| Vector4DAreNumericallyEqual Method (Vector4D, Vector4D) |
Determines whether two vectors are equal (regarding the tolerance
EpsilonD).
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static bool AreNumericallyEqual(
Vector4D vector1,
Vector4D vector2
)
Public Shared Function AreNumericallyEqual (
vector1 As Vector4D,
vector2 As Vector4D
) As Boolean
public:
static bool AreNumericallyEqual(
Vector4D vector1,
Vector4D vector2
)
static member AreNumericallyEqual :
vector1 : Vector4D *
vector2 : Vector4D -> bool
Parameters
- vector1
- Type: DigitalRune.Mathematics.AlgebraVector4D
The first vector. - vector2
- Type: DigitalRune.Mathematics.AlgebraVector4D
The second vector.
Return Value
Type:
Boolean if the vectors are equal (within the tolerance
EpsilonD); otherwise,
.
Remarks
The two vectors are compared component-wise. If the differences of the components are less
than
EpsilonD the vectors are considered as being equal.
See Also