Class TmsLevel.EmptyTile

java.lang.Object
hec.map.tms.datasource.TmsLevel.EmptyTile
All Implemented Interfaces:
Tile
Enclosing class:
TmsLevel

public static class TmsLevel.EmptyTile extends Object implements Tile
Represents an area that is an empty tile. Returns it's no data value for any query to it.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this tile and unloads any resources
    Returns a bounding box that represents the edges of the tile.
    Returns an image that represents this tile.
    float
    Returns the maximum value that occurs within the tile.
    float
    Returns the minimum value that occurs within the tile.
    float
    Returns the value in this tile that represents NO data.
    double
    Method to return the upper left x corner of the tile.
    double
    Method to return the upper left y corner of the tile.
    float[]
    Returns the float array the represents the data.
    float[]
    getValues(double[] xvalues, double[] yvalues, int numPoints)
    Returns the values at each x/y pair in the data sources.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EmptyTile

      public EmptyTile()
  • Method Details

    • getNoDataValue

      public float getNoDataValue()
      Description copied from interface: Tile
      Returns the value in this tile that represents NO data.
      Specified by:
      getNoDataValue in interface Tile
      Returns:
    • getValues

      public float[] getValues(double[] xvalues, double[] yvalues, int numPoints)
      Description copied from interface: Tile
      Returns the values at each x/y pair in the data sources. Only 0 to numPoints are searched.
      Specified by:
      getValues in interface Tile
      Returns:
    • getValues

      public float[] getValues()
      Description copied from interface: Tile
      Returns the float array the represents the data. The data is returned in Row order i.e. ,,.....
      Specified by:
      getValues in interface Tile
      Returns:
    • getImage

      public Image getImage(TmsGlyphDataRecord gdr)
      Description copied from interface: Tile
      Returns an image that represents this tile. The return value can be null if this tile does not have an image.
      Specified by:
      getImage in interface Tile
      Returns:
    • getMinValue

      public float getMinValue()
      Description copied from interface: Tile
      Returns the minimum value that occurs within the tile.
      Specified by:
      getMinValue in interface Tile
    • getMaxValue

      public float getMaxValue()
      Description copied from interface: Tile
      Returns the maximum value that occurs within the tile.
      Specified by:
      getMaxValue in interface Tile
    • getUpperLeftX

      public double getUpperLeftX()
      Description copied from interface: Tile
      Method to return the upper left x corner of the tile. Some formats specify the center of the upper left grid cell. This is not the case.
      Specified by:
      getUpperLeftX in interface Tile
      Returns:
    • getUpperLeftY

      public double getUpperLeftY()
      Description copied from interface: Tile
      Method to return the upper left y corner of the tile. Some formats specify the center of the upper left grid cell. This is not the case.
      Specified by:
      getUpperLeftY in interface Tile
      Returns:
    • getExtents

      public WorldRect getExtents()
      Description copied from interface: Tile
      Returns a bounding box that represents the edges of the tile.
      Specified by:
      getExtents in interface Tile
      Returns:
    • close

      public void close()
      Description copied from interface: Tile
      Closes this tile and unloads any resources
      Specified by:
      close in interface Tile