The DtDouglasSeaState is a utility class for converting wave heights to/from the Douglas Sea Scale as described by Wikipedia.
More...
Public Types |
| enum | Scale {
CalmGlassy = 0,
CalmRippled,
Smooth,
Slight,
Moderate,
Rough,
VeryRough,
High,
VeryHigh,
Phenomenal,
MaxDouglasSeaScale
} |
Public Member Functions |
| | DtDouglasSeaState (unsigned int index=0, const std::string &name=std::string(""), float minimum=0.0, float maximum=0.0) |
Detailed Description
The DtDouglasSeaState is a utility class for converting wave heights to/from the Douglas Sea Scale as described by Wikipedia.
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
| CalmGlassy |
|
| CalmRippled |
|
| Smooth |
|
| Slight |
|
| Moderate |
|
| Rough |
|
| VeryRough |
|
| High |
|
| VeryHigh |
|
| Phenomenal |
|
| MaxDouglasSeaScale |
|
Constructor & Destructor Documentation
| makVrv::DtDouglasSeaState::DtDouglasSeaState |
( |
unsigned int |
index = 0, |
|
|
const std::string & |
name = std::string(""), |
|
|
float |
minimum = 0.0, |
|
|
float |
maximum = 0.0 |
|
) |
| |
Member Function Documentation
| static std::string makVrv::DtDouglasSeaState::convertIndexToName |
( |
unsigned int |
index | ) |
|
|
static |
Conversion between sea-state index and name.
| static unsigned int makVrv::DtDouglasSeaState::convertNameToIndex |
( |
const std::string & |
name | ) |
|
|
static |
Conversion between sea-state index and name.
| static float makVrv::DtDouglasSeaState::convertIndexToWaveHeight |
( |
unsigned int |
index | ) |
|
|
static |
Conversion between sea-state index and wave heights.
- Note
- All wave heights are measured in meters.
| static unsigned int makVrv::DtDouglasSeaState::convertWaveHeightToIndex |
( |
float |
height | ) |
|
|
static |
Conversion between sea-state index and wave heights.
- Note
- All wave heights are measured in meters.
Member Data Documentation
| unsigned int makVrv::DtDouglasSeaState::myIndex |
|
private |
| std::string makVrv::DtDouglasSeaState::myName |
|
private |
| float makVrv::DtDouglasSeaState::myMinimum |
|
private |
| float makVrv::DtDouglasSeaState::myMaximum |
|
private |
The documentation for this class was generated from the following file: