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 TypeMethodDescriptionvoid
close()
Closes this tile and unloads any resourcesReturns 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.
-
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 interfaceTile
- 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. -
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., ,..... -
getImage
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. -
getMinValue
public float getMinValue()Description copied from interface:Tile
Returns the minimum value that occurs within the tile.- Specified by:
getMinValue
in interfaceTile
-
getMaxValue
public float getMaxValue()Description copied from interface:Tile
Returns the maximum value that occurs within the tile.- Specified by:
getMaxValue
in interfaceTile
-
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 interfaceTile
- 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 interfaceTile
- Returns:
-
getExtents
Description copied from interface:Tile
Returns a bounding box that represents the edges of the tile.- Specified by:
getExtents
in interfaceTile
- Returns:
-
close
public void close()Description copied from interface:Tile
Closes this tile and unloads any resources
-