| QuaternionDEquality Operator |
Tests if two quaternions are equal.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static bool operator ==(
QuaternionD q1,
QuaternionD q2
)
Public Shared Operator = (
q1 As QuaternionD,
q2 As QuaternionD
) As Boolean
public:
static bool operator ==(
QuaternionD q1,
QuaternionD q2
)
static let inline (=)
q1 : QuaternionD *
q2 : QuaternionD : bool
Parameters
- q1
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The first quaternion. - q2
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The second quaternion.
Return Value
Type:
Boolean if the quaternions are equal; otherwise
.
Remarks
For the test the components of the quaternions are compared.
See Also