Package hec.map
Interface ElevationMap
- All Superinterfaces:
MapObjectInterface
- All Known Subinterfaces:
ComplexGridMap,Flo2dMap,GridMap
- All Known Implementing Classes:
AiDemBaseMap,AiDemFltMap,AiDemMap,DemMap,Flo2dDepthMap,GrassAsciiMap,NetTinMap,RasterMap,TmsMap,VrtMapObject
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]getElevation(double[] northing, double[] easting) Retruns an array of elevations for an array of northin/easting points.floatgetElevation(WorldPt pt) Returns the elevation at the given World point.doubledoublegetName()Gets the Name attribute of the MapObjectInterface objectdoubleReturns the value that represents an UNDEFINED elevation in the map.Methods inherited from interface hec.map.MapObjectInterface
getCoordinateReferenceSystem, getExtent, getMapIdentifier, load, setExtent, setMapIdentifier, unload
-
Method Details
-
getElevation
Returns the elevation at the given World point. If there is no elvation defined, the the "No Data Value" is returned. -
getElevation
float[] getElevation(double[] northing, double[] easting) Retruns an array of elevations for an array of northin/easting points. Northing/Easting array values are paired northing[0],easting[0], etc to make one point. Throws an invalid value exception if the northing/easting arrays are not the same size.- Parameters:
northing-easting-- Returns:
- array of elevation points. The elevation value elevation[n] was derived using the point (easting[n],northing[n]).
-
getName
String getName()Description copied from interface:MapObjectInterfaceGets the Name attribute of the MapObjectInterface object- Specified by:
getNamein interfaceMapObjectInterface- Returns:
- The Name value
-
getMaximumElevation
double getMaximumElevation() -
getMinimumElevation
double getMinimumElevation() -
getNoDataValue
double getNoDataValue()Returns the value that represents an UNDEFINED elevation in the map.
-