| Constructor and Description |
|---|
XyGridCell(XyGrid grid,
int column,
int row) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object nother) |
XyBounds |
getBounds() |
XyPoint |
getCenter() |
int |
getColumn() |
XyGrid |
getGrid() |
XyPoint |
getNeCorner() |
XyPoint |
getNwCorner() |
int |
getRow() |
XyPoint |
getSeCorner() |
XyPoint |
getSwCorner() |
int |
hashCode() |
int |
toInt()
Encode the column, row coordinate as a single int.
|
long |
toLong()
Encode the column, row coordinate as a single long.
|
XyRectangle |
toRectangle() |
java.lang.String |
toString() |
public XyGridCell(XyGrid grid, int column, int row)
public XyRectangle toRectangle()
public XyPoint getSwCorner()
public XyPoint getNwCorner()
public XyPoint getSeCorner()
public XyPoint getNeCorner()
public XyPoint getCenter()
public XyBounds getBounds()
public XyGrid getGrid()
public int getColumn()
public int getRow()
public long toLong()
public int toInt()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object nother)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object