| QuaternionFAreNumericallyEqual Method (QuaternionF, QuaternionF) |
Tests if two quaternions are equal (within the tolerance
EpsilonF).
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static bool AreNumericallyEqual(
QuaternionF q1,
QuaternionF q2
)
Public Shared Function AreNumericallyEqual (
q1 As QuaternionF,
q2 As QuaternionF
) As Boolean
public:
static bool AreNumericallyEqual(
QuaternionF q1,
QuaternionF q2
)
static member AreNumericallyEqual :
q1 : QuaternionF *
q2 : QuaternionF -> bool
Parameters
- q1
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The first quaternion. - q2
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The second quaternion.
Return Value
Type:
Boolean if the quaternions are equal within the tolerance
EpsilonF; otherwise
.
Remarks
For the test the components of the quaternions are compared.
See Also