Package hec.model
Interface GridContainer
- All Superinterfaces:
Modifiable
- All Known Subinterfaces:
GridContainerManager
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintGets the AreaHeight of the Grid, which is generally the NumberOfCellsYintGets the AreaWidth of the Grid, which is generally the NumberOfCellsXfloat[]getData()Gets the Data for the Gridget the DSS File name for the GriddoublegetElevation(WorldPt pt) get the Elevation at WorldPt ptGets the Extents of the Grid.Gets the GridData for the Gridget the GridInfo for the GriddoubleGets the MaximumElevation of the Grid, this takes into account any clippings set by the GlyphDataRecorddoubleGets the MaximumValue attribute of the Grid.doubleGets the MinimumElevation of the Grid, this takes into account any clippings set by the GlyphDataRecorddoubleGets the MinimumValue attribute of the Grid.get the DSS Path name for the GriddoubleGets the ResolutionX of the Grid, which is generally the cellsizedoubleGets the ResolutionY of the Grid, which is generally the cellsizeint[]getRowColAtPt(WorldPt pt) Get the row/column at the location specified by ptMethods inherited from interface rma.lang.Modifiable
isModified, setModified
-
Field Details
-
NODATA
static final float NODATA- See Also:
-
-
Method Details
-
getElevation
get the Elevation at WorldPt pt- Parameters:
pt- the world point- Returns:
- the Elevation
-
getDSSFilename
String getDSSFilename()get the DSS File name for the Grid- Returns:
- the DSS File Name
-
getPathName
String getPathName()get the DSS Path name for the Grid- Returns:
- the DSS Path Name
-
getGridInfo
GridInfo getGridInfo()get the GridInfo for the Grid- Returns:
- the GridInfo
-
getGridData
GridData getGridData()Gets the GridData for the Grid- Returns:
- The GridData value
-
getData
float[] getData()Gets the Data for the Grid- Returns:
- The Data values
-
getAreaWidth
int getAreaWidth()Gets the AreaWidth of the Grid, which is generally the NumberOfCellsX- Returns:
- The AreaWidth value
-
getAreaHeight
int getAreaHeight()Gets the AreaHeight of the Grid, which is generally the NumberOfCellsY- Returns:
- The AreaHeight value
-
getResolutionX
double getResolutionX()Gets the ResolutionX of the Grid, which is generally the cellsize- Returns:
- The ResolutionX value
-
getResolutionY
double getResolutionY()Gets the ResolutionY of the Grid, which is generally the cellsize- Returns:
- The ResolutionY value
-
getMinimumElevation
double getMinimumElevation()Gets the MinimumElevation of the Grid, this takes into account any clippings set by the GlyphDataRecord- Returns:
- The MinimumElevation value
-
getMaximumElevation
double getMaximumElevation()Gets the MaximumElevation of the Grid, this takes into account any clippings set by the GlyphDataRecord- Returns:
- The MaximumElevation value
-
getMinimumValue
double getMinimumValue()Gets the MinimumValue attribute of the Grid.- Returns:
- The MinimumValue value
-
getMaximumValue
double getMaximumValue()Gets the MaximumValue attribute of the Grid.- Returns:
- The MaximumValue value
-
getExtent
WorldRect getExtent()Gets the Extents of the Grid.- Returns:
- The Extent value
-
getRowColAtPt
Get the row/column at the location specified by pt- Parameters:
pt- the WorldPt location- Returns:
- the row[0] and column[1]
-