Class GridFloat

java.lang.Object
org.openjump.core.rasterimage.GridFloat

public class GridFloat extends Object
  • Field Details

  • Constructor Details

    • GridFloat

      public GridFloat(String fltFullFileName) throws IOException
      Throws:
      IOException
    • GridFloat

      public GridFloat(String fltFullFileName, GridFloat gridFloat2)
    • GridFloat

      public GridFloat(String fltFullFileName, int nCols, int nRows, boolean origCorner, double xllOrig, double yllOrig, double cellSize, double noData, ByteOrder byteOrder)
  • Method Details

    • writeHdr

      public void writeHdr() throws IOException
      Throws:
      IOException
    • readGrid

      public void readGrid(Rectangle subset) throws FileNotFoundException, IOException
      Throws:
      FileNotFoundException
      IOException
    • writeGrid

      public void writeGrid() throws IOException
      Throws:
      IOException
    • setFltFullFileName

      public void setFltFullFileName(String fltFullFileName)
    • isSpatiallyEqualTo

      public boolean isSpatiallyEqualTo(GridFloat gridFloat2)
    • getBufferedImage

      public BufferedImage getBufferedImage()
    • readCellVal

      public double readCellVal(Integer col, Integer row) throws FileNotFoundException, IOException
      Throws:
      FileNotFoundException
      IOException
    • getnCols

      public int getnCols()
    • setnCols

      public void setnCols(int nCols)
    • getnRows

      public int getnRows()
    • setnRows

      public void setnRows(int nRows)
    • getXllCorner

      public double getXllCorner()
    • setXllCorner

      public void setXllCorner(double xllCorner)
    • getYllCorner

      public double getYllCorner()
    • setYllCorner

      public void setYllCorner(double yllCorner)
    • getOrigCorner

      public boolean getOrigCorner()
    • setOrigCorner

      public void setOrigCorner(boolean origCorner)
    • getCellSize

      public double getCellSize()
    • setCellSize

      public void setCellSize(double cellSize)
    • getNoData

      public double getNoData()
    • setNoData

      public void setNoData(double noData)
    • getByteOrder

      public ByteOrder getByteOrder()
    • setByteOrder

      public void setByteOrder(ByteOrder byteOrder)
    • getRaster

      public Raster getRaster()
    • setRas

      public void setRas(Raster raster)
    • getMinVal

      public double getMinVal()
    • getMaxVal

      public double getMaxVal()
    • getMeanVal

      public double getMeanVal()
    • getStDevVal

      public double getStDevVal()
    • getCellCount

      public long getCellCount()
    • isInteger

      public boolean isInteger()
    • getFloatArray

      public float[] getFloatArray()