Ejemplo n.º 1
0
 /// <summary>
 /// Indicates whether this instance is equal to the specified Point.
 /// </summary>
 /// <param name="other">The instance to compare to.</param>
 /// <returns>True, if both instances are equal; false otherwise.</returns>
 public bool Equals(GridPoint other)
 {
     return(X == other.X && Y == other.Y);
 }
Ejemplo n.º 2
0
 public CellLocation(GridPoint point, Vector2d remainder)
 {
     Point     = point;
     Remainder = remainder;
 }