Package hec.model

Interface GridContainer

All Superinterfaces:
Modifiable
All Known Subinterfaces:
GridContainerManager

public interface GridContainer extends Modifiable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the AreaHeight of the Grid, which is generally the NumberOfCellsY
    int
    Gets the AreaWidth of the Grid, which is generally the NumberOfCellsX
    float[]
    Gets the Data for the Grid
    get the DSS File name for the Grid
    double
    get the Elevation at WorldPt pt
    Gets the Extents of the Grid.
    Gets the GridData for the Grid
    get the GridInfo for the Grid
    double
    Gets the MaximumElevation of the Grid, this takes into account any clippings set by the GlyphDataRecord
    double
    Gets the MaximumValue attribute of the Grid.
    double
    Gets the MinimumElevation of the Grid, this takes into account any clippings set by the GlyphDataRecord
    double
    Gets the MinimumValue attribute of the Grid.
    get the DSS Path name for the Grid
    double
    Gets the ResolutionX of the Grid, which is generally the cellsize
    double
    Gets the ResolutionY of the Grid, which is generally the cellsize
    int[]
    Get the row/column at the location specified by pt

    Methods inherited from interface rma.lang.Modifiable

    isModified, setModified
  • Field Details

  • Method Details

    • getElevation

      double getElevation(WorldPt pt)
      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

      int[] getRowColAtPt(WorldPt pt)
      Get the row/column at the location specified by pt
      Parameters:
      pt - the WorldPt location
      Returns:
      the row[0] and column[1]