Package hec.map.tms.datasource
Class TmsLevel.EmptyTile
java.lang.Object
hec.map.tms.datasource.TmsLevel.EmptyTile
- All Implemented Interfaces:
Tile
- Enclosing class:
- TmsLevel
Represents an area that is an empty tile. Returns it's no data value for any query to it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this tile and unloads any resourcesReturns a bounding box that represents the edges of the tile.Returns an image that represents this tile.floatReturns the maximum value that occurs within the tile.floatReturns the minimum value that occurs within the tile.floatReturns the value in this tile that represents NO data.doubleMethod to return the upper left x corner of the tile.doubleMethod 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.
-
Constructor Details
-
EmptyTile
public EmptyTile()
-
-
Method Details
-
getNoDataValue
public float getNoDataValue()Description copied from interface:TileReturns the value in this tile that represents NO data.- Specified by:
getNoDataValuein interfaceTile- Returns:
-
getValues
public float[] getValues(double[] xvalues, double[] yvalues, int numPoints) Description copied from interface:TileReturns the values at each x/y pair in the data sources. Only 0 to numPoints are searched. -
getValues
public float[] getValues()Description copied from interface:TileReturns the float array the represents the data. The data is returned in Row order i.e., ,..... -
getImage
Description copied from interface:TileReturns an image that represents this tile. The return value can be null if this tile does not have an image. -
getMinValue
public float getMinValue()Description copied from interface:TileReturns the minimum value that occurs within the tile.- Specified by:
getMinValuein interfaceTile
-
getMaxValue
public float getMaxValue()Description copied from interface:TileReturns the maximum value that occurs within the tile.- Specified by:
getMaxValuein interfaceTile
-
getUpperLeftX
public double getUpperLeftX()Description copied from interface:TileMethod 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:
getUpperLeftXin interfaceTile- Returns:
-
getUpperLeftY
public double getUpperLeftY()Description copied from interface:TileMethod 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:
getUpperLeftYin interfaceTile- Returns:
-
getExtents
Description copied from interface:TileReturns a bounding box that represents the edges of the tile.- Specified by:
getExtentsin interfaceTile- Returns:
-
close
public void close()Description copied from interface:TileCloses this tile and unloads any resources
-