|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Resampling.Raster
A raster is a rectangular grid which provides sample values at a given raster position x,y.
| Method Summary | |
|---|---|
int |
getHeight()
Gets the raster's height. |
float |
getSample(int x,
int y)
Gets the sample value at the given raster position or Float.NaN. |
int |
getWidth()
Gets the raster's width. |
| Method Detail |
|---|
int getWidth()
int getHeight()
float getSample(int x,
int y)
throws Exception
Float.NaN.
x - the pixel's X-coordinatey - the pixel's Y-coordinate
Float.NaN if data is missing at the given raster position
Exception - if a non-runtime error occurs, e.g I/O error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||