public class Extent extends Object
update(Cell), update(Extent) or
update(int, int).| Constructor and Description |
|---|
Extent() |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
int |
getMaxX() |
int |
getMaxY() |
int |
getMinX() |
int |
getMinY() |
int |
getWidth() |
int |
indToX(int index)
Get the cell coordinates corresponding to the given address
|
int |
indToY(int index)
Get the cell coordinates corresponding to the given address
|
String |
toString() |
void |
update(Cell c) |
void |
update(Extent e) |
void |
update(int x,
int y) |
void |
updateHeightWidth() |
int |
xInd(int x)
Get the zero-indexed address (x value) of the cell for putting into
arrays
|
int |
yInd(int y)
Get the zero-indexed address (y value) of the cell for putting into
arrays
|
public int getMinX()
public int getMaxX()
public int getMinY()
public int getMaxY()
public void update(int x,
int y)
public void update(Cell c)
public void update(Extent e)
public void updateHeightWidth()
public String toString()
toString in class ObjectObject.toString()public int getWidth()
public int getHeight()
public int xInd(int x)
x - public int yInd(int y)
y - public int indToX(int index)
ind - public int indToY(int index)
ind -