Vector2::Equals Method (Vector2)

Returns a value that indicates whether this instance and another vector are equal.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
virtual bool Equals(
	Vector2 other
) sealed

Parameters

other
Type: System.Numerics::Vector2

The other vector.

Return Value

Type: System::Boolean
true if the two vectors are equal; otherwise, false.

Implements

IEquatable<T>::Equals(T)

Two vectors are equal if their X and Y elements are equal.

Show: