Interface Band.BandDouble

All Superinterfaces:
Band, Cloneable, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.observer.ComplexObservable, org.gvsig.tools.observer.ComplexWeakReferencingObservable, org.gvsig.tools.dispose.Disposable, org.gvsig.tools.observer.Observable, org.gvsig.tools.observer.WeakReferencingObservable
Enclosing interface:
Band

public static interface Band.BandDouble extends Band
A Band which elements are doubles.
Author:
fdiaz
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gvsig.raster.lib.buffer.api.Band

    Band.BandByte, Band.BandDouble, Band.BandFloat, Band.BandInt, Band.BandShort
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    Creates an array of corresponding data type.
    double
    getValue(int row, int column)
    Gets the corresponding value to the row and column;
    void
    setValue(int row, int column, double value)
    Sets the value in the row and column;

    Methods inherited from interface org.gvsig.raster.lib.buffer.api.Band

    copyFrom, copyFrom, fetchRow, fill, get, getAsDouble, getBandInfo, getColumns, getDataType, getNoData, getRows, isPaginated, isReadOnly, putRow, set

    Methods inherited from interface org.gvsig.tools.lang.Cloneable

    clone

    Methods inherited from interface org.gvsig.tools.observer.ComplexObservable

    beginComplexNotification, disableNotifications, enableNotifications, endComplexNotification

    Methods inherited from interface org.gvsig.tools.dispose.Disposable

    dispose

    Methods inherited from interface org.gvsig.tools.observer.Observable

    addObserver, deleteObserver, deleteObservers
  • Method Details

    • getValue

      double getValue(int row, int column)
      Gets the corresponding value to the row and column;
      Parameters:
      row -
      column -
      Returns:
      a byte;
    • setValue

      void setValue(int row, int column, double value)
      Sets the value in the row and column;
      Parameters:
      row -
      column -
      value -
    • createRowBuffer

      double[] createRowBuffer()
      Description copied from interface: Band
      Creates an array of corresponding data type. The size of the array is the width of the band.
      Specified by:
      createRowBuffer in interface Band
      Returns:
      an array of corresponding data type.