Package hec.map.tms.datasource.tile.flt
Class FltTile
java.lang.Object
hec.map.tms.datasource.tile.flt.FltTile
- All Implemented Interfaces:
Tile
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this tile and unloads any resourcesvoidReturns 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.doubleget the upper left corner X in world coordinatesdoubleget the upper left corner Y in world coordinatesfloat[]get the values from the FLT filefloat[]getValues(double[] x, double[] y, int numPoints) returns a double array of values that are located at points x,y.
-
Method Details
-
closeDataStream
public void closeDataStream() -
getValues
public float[] getValues()get the values from the FLT file -
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. -
getValues
public float[] getValues(double[] x, double[] y, int numPoints) returns a double array of values that are located at points x,y. Values in the array are in the same order as the input x,y arrays. the x and y values are assumed to be in the same coordinate space as the data. I.E. the x/y values are offsets from the UL and UR and which is assumed to be (0,0) -
getNoDataValue
public float getNoDataValue()Description copied from interface:TileReturns the value in this tile that represents NO data.- Specified by:
getNoDataValuein interfaceTile- Returns:
-
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()get the upper left corner X in world coordinates- Specified by:
getUpperLeftXin interfaceTile- Returns:
- See Also:
-
getUpperLeftY
public double getUpperLeftY()get the upper left corner Y in world coordinates- Specified by:
getUpperLeftYin interfaceTile- Returns:
- See Also:
-
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
-