com.partnersoft.geometry
Class GridCoordinate
java.lang.Object
com.partnersoft.geometry.GridCoordinate
public class GridCoordinate
- extends java.lang.Object
An integer coordinate for a grid cell. Really just an x, y tuple.
- Author:
- Paul Reavis
Copyright 2002 Partner Software, Inc.
|
Field Summary |
int |
x
|
int |
y
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
x
public int x
y
public int y
GridCoordinate
public GridCoordinate()
GridCoordinate
public GridCoordinate(int x,
int y)
equals
public boolean equals(java.lang.Object nother)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object