The DtBeaufortWindScale is a utility class for converting wind speeds.
More...
Public Types |
| enum | Scale {
Calm = 0,
LightAir,
LightBreeze,
GentleBreeze,
ModerateBreeze,
FreshBreeze,
StrongBreeze,
HighWind,
Gale,
StrongGale,
Storm,
ViolentStorm,
Hurricane,
MaxBeaufortScale
} |
Detailed Description
The DtBeaufortWindScale is a utility class for converting wind speeds.
to/from the Beaufort Scale as described by Wikipedia.
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
| Calm |
|
| LightAir |
|
| LightBreeze |
|
| GentleBreeze |
|
| ModerateBreeze |
|
| FreshBreeze |
|
| StrongBreeze |
|
| HighWind |
|
| Gale |
|
| StrongGale |
|
| Storm |
|
| ViolentStorm |
|
| Hurricane |
|
| MaxBeaufortScale |
|
Constructor & Destructor Documentation
| makVrv::DtBeaufortWindScale::DtBeaufortWindScale |
( |
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::DtBeaufortWindScale::convertIndexToName |
( |
unsigned int |
index | ) |
|
|
static |
Conversion between wind-speed index and name.
| static unsigned int makVrv::DtBeaufortWindScale::convertNameToIndex |
( |
const std::string & |
name | ) |
|
|
static |
| static float makVrv::DtBeaufortWindScale::convertIndexToWindSpeed |
( |
unsigned int |
index | ) |
|
|
static |
Conversion between wind-speed index and wind-speed.
- Note
- All wind-speeds are measured in meters per second.
| static unsigned int makVrv::DtBeaufortWindScale::convertWindSpeedToIndex |
( |
float |
speed | ) |
|
|
static |
Member Data Documentation
| std::string makVrv::DtBeaufortWindScale::myName |
|
private |
| float makVrv::DtBeaufortWindScale::myMinimum |
|
private |
| float makVrv::DtBeaufortWindScale::myMaximum |
|
private |
The documentation for this class was generated from the following file: