Package hec.map
Interface ComplexGridMap
- All Superinterfaces:
ElevationMap
,GridMap
,MapObjectInterface
An interface for a grid map where the row height and column width varies.
-
Method Summary
Modifier and TypeMethodDescriptiongetCellArea
(int icol, int irow) Returns a rotated Area for the provided cell coords.float[]
double
double
float[]
double
getWidth()
Methods inherited from interface hec.map.ElevationMap
getElevation, getElevation, getMaximumElevation, getMinimumElevation, getName
Methods inherited from interface hec.map.GridMap
getGridCellSize, getNoDataValue, supportsNoDataValue
Methods inherited from interface hec.map.MapObjectInterface
getCoordinateReferenceSystem, getExtent, getMapIdentifier, load, setExtent, setMapIdentifier, unload
-
Method Details
-
getRowDeltas
float[] getRowDeltas()- Returns:
- An array of the row height deltas.
-
getColumnDeltas
float[] getColumnDeltas()- Returns:
- An array of the column width deltas.
-
getRotationRadians
double getRotationRadians()- Returns:
- The rotation of the ground around the origin in radians.
-
getOrigin
WorldPt getOrigin()- Returns:
- The origin of this grid, the n/w corner.
-
getArea2D
Area getArea2D()- Returns:
- The rotated area of this grid.
-
getCellArea
Returns a rotated Area for the provided cell coords.- Parameters:
icol
- the cell columnirow
- the cell row- Returns:
- the cell area.
-
getWidth
double getWidth()- Returns:
- The width of this grid.
-
getHeight
double getHeight()- Returns:
- The height of this grid.
-