Class GridWrapperInterpolated
java.lang.Object
org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapper
org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapperInterpolated
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
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionGridWrapperInterpolated(ISextanteRasterLayer layer, GridExtent windowExtent) -
Method Summary
Modifier and TypeMethodDescriptionbytegetCellValueAsByte(int x, int y) bytegetCellValueAsByte(int x, int y, int band) doublegetCellValueAsDouble(int x, int y) doublegetCellValueAsDouble(int x, int y, int band) floatgetCellValueAsFloat(int x, int y) floatgetCellValueAsFloat(int x, int y, int band) intgetCellValueAsInt(int x, int y) intgetCellValueAsInt(int x, int y, int band) shortgetCellValueAsShort(int x, int y) shortgetCellValueAsShort(int x, int y, int band) Methods inherited from class GridWrapper
getCellSize, getCellValueInLayerCoords, getGridExtent, getNoDataValue, getNX, getNY, getValueAt, isInLayer, isNoDataValue, setInterpolationMethod
-
Constructor Details
-
GridWrapperInterpolated
-
-
Method Details
-
getCellValueAsByte
public byte getCellValueAsByte(int x, int y) - Specified by:
getCellValueAsBytein classGridWrapper
-
getCellValueAsByte
public byte getCellValueAsByte(int x, int y, int band) - Specified by:
getCellValueAsBytein classGridWrapper
-
getCellValueAsShort
public short getCellValueAsShort(int x, int y) - Specified by:
getCellValueAsShortin classGridWrapper
-
getCellValueAsShort
public short getCellValueAsShort(int x, int y, int band) - Specified by:
getCellValueAsShortin classGridWrapper
-
getCellValueAsInt
public int getCellValueAsInt(int x, int y) - Specified by:
getCellValueAsIntin classGridWrapper
-
getCellValueAsInt
public int getCellValueAsInt(int x, int y, int band) - Specified by:
getCellValueAsIntin classGridWrapper
-
getCellValueAsFloat
public float getCellValueAsFloat(int x, int y) - Specified by:
getCellValueAsFloatin classGridWrapper
-
getCellValueAsFloat
public float getCellValueAsFloat(int x, int y, int band) - Specified by:
getCellValueAsFloatin classGridWrapper
-
getCellValueAsDouble
public double getCellValueAsDouble(int x, int y) - Specified by:
getCellValueAsDoublein classGridWrapper
-
getCellValueAsDouble
public double getCellValueAsDouble(int x, int y, int band) - Specified by:
getCellValueAsDoublein classGridWrapper
-