es.unex.sextante.rasterWrappers
Class GridWrapperInterpolated
java.lang.Object
es.unex.sextante.rasterWrappers.GridWrapper
es.unex.sextante.rasterWrappers.GridWrapperInterpolated
public class GridWrapperInterpolated
- extends GridWrapper
A grid wrapper that performs interpolation to calculate
cell values. This should be used when the window extent
does not 'fit' into the structure (coordinates and cellsize)
of the grid.
- Author:
- Victor Olaya
Method Summary |
byte |
getCellValueAsByte(int x,
int y)
|
byte |
getCellValueAsByte(int x,
int y,
int band)
|
double |
getCellValueAsDouble(int x,
int y)
|
double |
getCellValueAsDouble(int x,
int y,
int band)
|
float |
getCellValueAsFloat(int x,
int y)
|
float |
getCellValueAsFloat(int x,
int y,
int band)
|
int |
getCellValueAsInt(int x,
int y)
|
int |
getCellValueAsInt(int x,
int y,
int band)
|
short |
getCellValueAsShort(int x,
int y)
|
short |
getCellValueAsShort(int x,
int y,
int band)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GridWrapperInterpolated
public GridWrapperInterpolated(IRasterLayer layer,
GridExtent windowExtent)
getCellValueAsByte
public byte getCellValueAsByte(int x,
int y)
- Specified by:
getCellValueAsByte
in class GridWrapper
getCellValueAsByte
public byte getCellValueAsByte(int x,
int y,
int band)
- Specified by:
getCellValueAsByte
in class GridWrapper
getCellValueAsShort
public short getCellValueAsShort(int x,
int y)
- Specified by:
getCellValueAsShort
in class GridWrapper
getCellValueAsShort
public short getCellValueAsShort(int x,
int y,
int band)
- Specified by:
getCellValueAsShort
in class GridWrapper
getCellValueAsInt
public int getCellValueAsInt(int x,
int y)
- Specified by:
getCellValueAsInt
in class GridWrapper
getCellValueAsInt
public int getCellValueAsInt(int x,
int y,
int band)
- Specified by:
getCellValueAsInt
in class GridWrapper
getCellValueAsFloat
public float getCellValueAsFloat(int x,
int y)
- Specified by:
getCellValueAsFloat
in class GridWrapper
getCellValueAsFloat
public float getCellValueAsFloat(int x,
int y,
int band)
- Specified by:
getCellValueAsFloat
in class GridWrapper
getCellValueAsDouble
public double getCellValueAsDouble(int x,
int y)
- Specified by:
getCellValueAsDouble
in class GridWrapper
getCellValueAsDouble
public double getCellValueAsDouble(int x,
int y,
int band)
- Specified by:
getCellValueAsDouble
in class GridWrapper