![]() |
VR-Forces Developer's Guide
|
The DtBeaufortWindScale is a utility class for converting wind speeds to/from the Beaufort Scale as described by Wikipedia.
Public Member Functions | |
| DtBeaufortWindScale (DtBeaufortWindScale::Scale index=Scale::Calm, const std::string &name=std::string(""), float minimum=0.0, float maximum=0.0) | |
Static Public Member Functions | |
Conversion functions: | |
| static std::string | convertIndexToName (DtBeaufortWindScale::Scale index) |
| static DtBeaufortWindScale::Scale | convertNameToIndex (const std::string &name) |
| static float | convertIndexToWindSpeed (DtBeaufortWindScale::Scale index) |
| static DtBeaufortWindScale::Scale | convertWindSpeedToIndex (float speed) |
Private Types | |
| typedef std::vector < DtBeaufortWindScale > | WindSpeedList |
Private Attributes | |
| DtBeaufortWindScale::Scale | myIndex |
| std::string | myName |
| float | myMinimum |
| float | myMaximum |
Static Private Attributes | |
| static WindSpeedList | myStates |
|
private |
|
strong |
| makVrv::DtBeaufortWindScale::DtBeaufortWindScale | ( | DtBeaufortWindScale::Scale | index = Scale::Calm, |
| const std::string & | name = std::string(""), |
||
| float | minimum = 0.0, |
||
| float | maximum = 0.0 |
||
| ) |
|
static |
Conversion between wind-speed index and name.
|
static |
Conversion between wind-speed index and name.
|
static |
Conversion between wind-speed index and wind-speed.
|
static |
Conversion between wind-speed index and wind-speed.
|
private |
|
private |
|
private |
|
private |
|
staticprivate |