51 float minimum = 0.0,
float maximum = 0.0);
58 static DtUnicode convertIndexToName(
unsigned int index);
59 static unsigned int convertNameToIndex(
DtUnicode name);
65 static float convertIndexToWaveHeight(
unsigned int index);
66 static unsigned int convertWaveHeightToIndex(
float height);
95 Swell(
float length = 0,
float height = 0);
102 bool operator >=(
const Swell& other)
const;
103 bool operator <(
const Swell& other)
const;
104 bool operator <=(
const Swell& other)
const;
106 float length()
const;
107 float height()
const;
133 const Swell& minimum = Swell(),
const Swell& maximum = Swell());
140 static DtUnicode convertIndexToName(
unsigned int index);
141 static unsigned int convertNameToIndex(
DtUnicode name);
147 static Swell convertIndexToSwell(
unsigned int index);
148 static unsigned int convertSwellToIndex(
const Swell& swell);
Definition: DtDouglasSeaScale.h:125
DtUnicode myName
Definition: DtDouglasSeaScale.h:155
Definition: DtDouglasSeaScale.h:37
A unicode string.
Definition: DtUnicode.h:33
unsigned int myIndex
Definition: DtDouglasSeaScale.h:72
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
Definition: DtDouglasSeaScale.h:38
float myMaximum
Definition: DtDouglasSeaScale.h:75
Swell myMaximum
Definition: DtDouglasSeaScale.h:158
The DtDouglasSeaState is a utility class for converting wave heights to/from the Douglas Sea Scale as...
Definition: DtDouglasSeaScale.h:28
Definition: DtDouglasSeaScale.h:36
Definition: DtDouglasSeaScale.h:119
DtUnicode myName
Definition: DtDouglasSeaScale.h:73
Definition: DtDouglasSeaScale.h:124
Definition: DtDouglasSeaScale.h:123
float myMinimum
Definition: DtDouglasSeaScale.h:74
Contains DLL export macros.
static SwellStateList myStates
Definition: DtDouglasSeaScale.h:161
The DtDouglasSwellState is a utility class for converting sea-swell lengths and heights to/from the D...
Definition: DtDouglasSeaScale.h:87
Definition: DtDouglasSeaScale.h:120
float myLength
Definition: DtDouglasSeaScale.h:110
Definition: DtDouglasSeaScale.h:121
Definition: DtDouglasSeaScale.h:44
Definition: DtDouglasSeaScale.h:126
std::vector< DtDouglasSwellState > SwellStateList
Definition: DtDouglasSeaScale.h:160
Definition: DtDouglasSeaScale.h:43
bool operator>(const DtObjectType &lhs, const DtSimulationModelSetLoader::EntityData &rhs)
Definition: simulationModelSetLoader.h:1292
Swell myValue
Definition: DtDouglasSeaScale.h:156
Definition: DtDouglasSeaScale.h:122
Definition: DtDouglasSeaScale.h:42
A class describing the profile of a sea-swell.
Definition: DtDouglasSeaScale.h:92
Definition: DtDouglasSeaScale.h:118
bool operator==(const DtTextureAtlasIndexParser::StringOrFloatAttrib &lhs, const DtTextureAtlasIndexParser::StringOrFloatAttrib &rhs)
needed for search comparison code
Definition: DtTextureAtlasIndexParser.h:153
float myHeight
Definition: DtDouglasSeaScale.h:111
Definition: DtDouglasSeaScale.h:39
static SeaStateList myStates
Definition: DtDouglasSeaScale.h:78
Swell myMinimum
Definition: DtDouglasSeaScale.h:157
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
unsigned int myIndex
Definition: DtDouglasSeaScale.h:154
Definition: DtDouglasSeaScale.h:41
std::vector< DtDouglasSeaState > SeaStateList
Definition: DtDouglasSeaScale.h:77
Definition: DtDouglasSeaScale.h:40