48 const std::string& name = std::string(
""),
49 float minimum = 0.0,
float maximum = 0.0);
56 static std::string convertIndexToName(
unsigned int index);
57 static unsigned int convertNameToIndex(
const std::string& name);
63 static float convertIndexToWaveHeight(
unsigned int index);
64 static unsigned int convertWaveHeightToIndex(
float height);
93 Swell(
float length = 0,
float height = 0);
100 bool operator >=(
const Swell& other)
const;
101 bool operator <(
const Swell& other)
const;
102 bool operator <=(
const Swell& other)
const;
104 float length()
const;
105 float height()
const;
130 const std::string& name = std::string(
""),
const Swell& value = Swell(),
131 const Swell& minimum = Swell(),
const Swell& maximum = Swell());
138 static std::string convertIndexToName(
unsigned int index);
139 static unsigned int convertNameToIndex(
const std::string& name);
145 static Swell convertIndexToSwell(
unsigned int index);
146 static unsigned int convertSwellToIndex(
const Swell& swell);
Definition: DtDouglasSeaScale.h:123
std::string myName
Definition: DtDouglasSeaScale.h:71
Definition: DtDouglasSeaScale.h:35
unsigned int myIndex
Definition: DtDouglasSeaScale.h:70
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
Definition: DtDouglasSeaScale.h:36
float myMaximum
Definition: DtDouglasSeaScale.h:73
Swell myMaximum
Definition: DtDouglasSeaScale.h:156
The DtDouglasSeaState is a utility class for converting wave heights to/from the Douglas Sea Scale as...
Definition: DtDouglasSeaScale.h:26
Definition: DtDouglasSeaScale.h:34
Definition: DtDouglasSeaScale.h:117
Definition: DtDouglasSeaScale.h:122
Definition: DtDouglasSeaScale.h:121
float myMinimum
Definition: DtDouglasSeaScale.h:72
Contains DLL export macros.
static SwellStateList myStates
Definition: DtDouglasSeaScale.h:159
The DtDouglasSwellState is a utility class for converting sea-swell lengths and heights to/from the D...
Definition: DtDouglasSeaScale.h:85
Definition: DtDouglasSeaScale.h:118
float myLength
Definition: DtDouglasSeaScale.h:108
Definition: DtDouglasSeaScale.h:119
std::string myName
Definition: DtDouglasSeaScale.h:153
Definition: DtDouglasSeaScale.h:42
Definition: DtDouglasSeaScale.h:124
std::vector< DtDouglasSwellState > SwellStateList
Definition: DtDouglasSeaScale.h:158
Definition: DtDouglasSeaScale.h:41
bool operator>(const DtObjectType &lhs, const DtSimulationModelSetLoader::EntityData &rhs)
Definition: simulationModelSetLoader.h:1236
Swell myValue
Definition: DtDouglasSeaScale.h:154
Definition: DtDouglasSeaScale.h:120
Definition: DtDouglasSeaScale.h:40
A class describing the profile of a sea-swell.
Definition: DtDouglasSeaScale.h:90
Definition: DtDouglasSeaScale.h:116
bool operator==(const DtTextureAtlasIndexParser::StringOrFloatAttrib &lhs, const DtTextureAtlasIndexParser::StringOrFloatAttrib &rhs)
needed for search comparison code
Definition: DtTextureAtlasIndexParser.h:153
float myHeight
Definition: DtDouglasSeaScale.h:109
Definition: DtDouglasSeaScale.h:37
static SeaStateList myStates
Definition: DtDouglasSeaScale.h:76
Swell myMinimum
Definition: DtDouglasSeaScale.h:155
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
unsigned int myIndex
Definition: DtDouglasSeaScale.h:152
Definition: DtDouglasSeaScale.h:39
std::vector< DtDouglasSeaState > SeaStateList
Definition: DtDouglasSeaScale.h:75
Definition: DtDouglasSeaScale.h:38