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
otherGridPoint2The other.
Returns
- bool
trueif both points' x-coordinates are equal and their y-coordinates are equal,falseotherwise.
Equals(object)
public override bool Equals(object other)
Parameters
otherobject