public static interface Resampling.Raster
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets the raster's height.
|
boolean |
getSamples(int[] x,
int[] y,
double[][] samples)
Gets the sample value at the given raster position or
Float.NaN . |
int |
getWidth()
Gets the raster's width.
|
int getWidth()
int getHeight()
boolean getSamples(int[] x, int[] y, double[][] samples) throws Exception
Float.NaN
.x
- the pixel's X-coordinatey
- the pixel's Y-coordinate
the sample value or Double.NaN
if data is missing at the given raster positionException
- if a non-runtime error occurs, e.g I/O errorCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.