|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Grid
A grid is a data structure containing numeric data organized in rows and columns. Cell 0,0 represents a real location x0, y0, and every cell has a width (dx) and a height (dy) so that a cell at row i and column j represents a location of coordinates
| Nested Class Summary | |
|---|---|
static class |
Grid.InterpolationMethod
|
| Field Summary | |
|---|---|
static int |
BICUBIC
Bicubic interpolation method. |
static int |
BILINEAR
Bilinear interpolation method. |
static int |
NEAREST
Nearest interpolation method. |
| Method Summary | |
|---|---|
int |
getColumnNumber()
Get the number of columns of this grid. |
double |
getDX()
Real world interval between two consecutive columns. |
double |
getDY()
Real world interval between two consecutive row. |
int |
getRowNumber()
Get the number of rows of this grid. |
double[] |
getValue(double x,
double y,
Grid.InterpolationMethod method)
Get the value corrsponding to the x,y position. |
double |
getX0()
Get the real world abscisse (x) of the first column. |
double |
getXL()
Get the first ordinate of the last grid column. |
double |
getY0()
Get the real world ordinate (y) of the first row. |
double |
getYL()
Get the second ordinate of the last grid row. |
| Field Detail |
|---|
static final int NEAREST
static final int BILINEAR
static final int BICUBIC
| Method Detail |
|---|
int getColumnNumber()
int getRowNumber()
double getX0()
double getY0()
double getXL()
double getYL()
double getDX()
double getDY()
double[] getValue(double x,
double y,
Grid.InterpolationMethod method)
throws OutOfExtentException,
InterpolationMethodException
OutOfExtentException
InterpolationMethodException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||