/// <summary> /// Checks whether this RCIntVector contains the same coordinates as the specified RCIntVector. /// </summary> /// <param name="other">The RCIntVector to test.</param> /// <returns>True if other RCIntVector has the same coordinates as this RCIntVector.</returns> public bool Equals(RCIntVector other) { return((!this.isDefined && !other.isDefined) || (this.isDefined && other.isDefined && this.x == other.x && this.y == other.y)); }