The DtDouglasSwellState is a utility class for converting sea-swell lengths and heights to/from the Douglas Sea Scale as described by Wikipedia.
More...
Classes |
| class | Swell |
| | A class describing the profile of a sea-swell. More...
|
Public Types |
| enum | Scale {
NoSwell = 0,
VeryLow,
Low,
Light,
Moderate,
ModerateRough,
Rough,
High,
VeryHigh,
Confused,
MaxDouglasSwellScale
} |
Detailed Description
The DtDouglasSwellState is a utility class for converting sea-swell lengths and heights to/from the Douglas Sea Scale as described by Wikipedia.
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
| NoSwell |
|
| VeryLow |
|
| Low |
|
| Light |
|
| Moderate |
|
| ModerateRough |
|
| Rough |
|
| High |
|
| VeryHigh |
|
| Confused |
|
| MaxDouglasSwellScale |
|
Constructor & Destructor Documentation
| makVrv::DtDouglasSwellState::DtDouglasSwellState |
( |
unsigned int |
index = 0, |
|
|
const std::string & |
name = std::string(""), |
|
|
const Swell & |
value = Swell(), |
|
|
const Swell & |
minimum = Swell(), |
|
|
const Swell & |
maximum = Swell() |
|
) |
| |
Member Function Documentation
| static std::string makVrv::DtDouglasSwellState::convertIndexToName |
( |
unsigned int |
index | ) |
|
|
static |
Conversion between swell-state index and name.
| static unsigned int makVrv::DtDouglasSwellState::convertNameToIndex |
( |
const std::string & |
name | ) |
|
|
static |
Conversion between swell-state index and name.
| static Swell makVrv::DtDouglasSwellState::convertIndexToSwell |
( |
unsigned int |
index | ) |
|
|
static |
Conversion between swell-state index and swell.
- Note
- All swell lengths and heights are measured in meters.
| static unsigned int makVrv::DtDouglasSwellState::convertSwellToIndex |
( |
const Swell & |
swell | ) |
|
|
static |
Conversion between swell-state index and swell.
- Note
- All swell lengths and heights are measured in meters.
Member Data Documentation
| unsigned int makVrv::DtDouglasSwellState::myIndex |
|
private |
| std::string makVrv::DtDouglasSwellState::myName |
|
private |
| Swell makVrv::DtDouglasSwellState::myValue |
|
private |
| Swell makVrv::DtDouglasSwellState::myMinimum |
|
private |
| Swell makVrv::DtDouglasSwellState::myMaximum |
|
private |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-3-branch/include/vrvUtil/DtDouglasSeaScale.h