Method Equals
Equals(GridPoint2)
Compares this grid point with another grid point for equality. Two grid points are equal if their respective coordinates are equal.
public bool Equals(GridPoint2 other)
Parameters
other
GridPoint2The other.
Returns
- bool
true
if both points' x-coordinates are equal and their y-coordinates are equal,false
otherwise.
Equals(object)
public override bool Equals(object other)
Parameters
other
object