Data behaviour class for bathymetry database.
More...
#include <woss-db.h>
Data behaviour class for bathymetry database.
WossBathymetryDb is the prototype of any bathymetry dabase in WOSS
- See also
- BathyGebcoDb
◆ WossBathymetryDb()
| woss::WossBathymetryDb::WossBathymetryDb |
( |
| ) |
|
|
default |
◆ ~WossBathymetryDb()
| virtual woss::WossBathymetryDb::~WossBathymetryDb |
( |
| ) |
|
|
virtualdefault |
◆ getValue()
| virtual Bathymetry woss::WossBathymetryDb::getValue |
( |
const Coord & |
coords | ) |
const |
|
pure virtual |
Returns the positive depth value ( woss::Bathymetry ) for given coordinates, if present in the database
- Parameters
-
| coords | const reference to a valid Coord object |
- Returns
- positive depth value [m] if coordinates are found, HUGE_VAL otherwise
Implemented in woss::BathyGebcoDb, and woss::BathyUtmCsvDb.
◆ insertValue()
| virtual bool woss::WossBathymetryDb::insertValue |
( |
const Coord & |
coordinates, |
|
|
const Bathymetry & |
bathymetry_value |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: