| Vector2FEquality Operator |
Tests if two vectors 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 ==(
Vector2F vector1,
Vector2F vector2
)
Public Shared Operator = (
vector1 As Vector2F,
vector2 As Vector2F
) As Boolean
public:
static bool operator ==(
Vector2F vector1,
Vector2F vector2
)
static let inline (=)
vector1 : Vector2F *
vector2 : Vector2F : bool
Parameters
- vector1
- Type: DigitalRune.Mathematics.AlgebraVector2F
The first vector. - vector2
- Type: DigitalRune.Mathematics.AlgebraVector2F
The second vector.
Return Value
Type:
Boolean if the vectors are equal; otherwise
.
Remarks
For the test the corresponding components of the vectors are compared.
See Also