|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ElevationModel
An ElevationModel is used to obtain an elevation above a
specified geographical datum for a given geographical position.
| Method Summary | |
|---|---|
void |
dispose()
Releases all of the resources used by this object instance and all of its owned children. |
ElevationModelDescriptor |
getDescriptor()
Gets the descriptor of this DEM. |
float |
getElevation(GeoPos geoPos)
Gets the elevation at the geographical coordinate in meters. |
Resampling |
getResampling()
|
| Method Detail |
|---|
ElevationModelDescriptor getDescriptor()
float getElevation(GeoPos geoPos)
throws Exception
geoPos - the geographical coordinate
ElevationModelDescriptor.getNoDataValue() if an elevation is not available
Exception - if a non-runtime error occurs, e.g I/O errorResampling getResampling()
void dispose()
This method should be called only if it is for sure that this object instance will never be used again. The
results of referencing an instance of this class after a call to dispose() are undefined.
Overrides of this method should always call super.dispose(); after disposing this instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||