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 TypeMethodDescriptionvoid
close()
Closes this tile and unloads any resourcesvoid
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
get the upper left corner X in world coordinatesdouble
get 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:Tile
Returns 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:Tile
Returns the value in this tile that represents NO data.- Specified by:
getNoDataValue
in interfaceTile
- Returns:
-
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()get the upper left corner X in world coordinates- Specified by:
getUpperLeftX
in interfaceTile
- Returns:
- See Also:
-
getUpperLeftY
public double getUpperLeftY()get the upper left corner Y in world coordinates- Specified by:
getUpperLeftY
in interfaceTile
- Returns:
- See Also:
-
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
-