ad_map_access
|
#include <ad/map/point/Altitude.hpp>
Public Member Functions | |
Altitude () | |
default constructor More... | |
_AD_MAP_POINT_ALTITUDE_EXPLICIT_CONVERSION_ | Altitude (double const iAltitude) |
standard constructor More... | |
Altitude (const Altitude &other)=default | |
standard copy constructor | |
Altitude (Altitude &&other)=default | |
standard move constructor | |
Altitude & | operator= (const Altitude &other)=default |
standard assignment operator More... | |
Altitude & | operator= (Altitude &&other)=default |
standard move operator More... | |
bool | operator== (const Altitude &other) const |
standard comparison operator More... | |
bool | operator!= (const Altitude &other) const |
standard comparison operator More... | |
bool | operator> (const Altitude &other) const |
standard comparison operator More... | |
bool | operator< (const Altitude &other) const |
standard comparison operator More... | |
bool | operator>= (const Altitude &other) const |
standard comparison operator More... | |
bool | operator<= (const Altitude &other) const |
standard comparison operator More... | |
Altitude | operator+ (const Altitude &other) const |
standard arithmetic operator More... | |
Altitude & | operator+= (const Altitude &other) |
standard arithmetic operator More... | |
Altitude | operator- (const Altitude &other) const |
standard arithmetic operator More... | |
Altitude | operator-= (const Altitude &other) |
standard arithmetic operator More... | |
Altitude | operator* (const double &scalar) const |
standard arithmetic operator More... | |
Altitude | operator/ (const double &scalar) const |
standard arithmetic operator More... | |
double | operator/ (const Altitude &other) const |
standard arithmetic operator More... | |
Altitude | operator- () const |
standard arithmetic operator More... | |
_AD_MAP_POINT_ALTITUDE_EXPLICIT_CONVERSION_ | operator double () const |
conversion to base type: double More... | |
bool | isValid () const |
void | ensureValid () const |
ensure that the Altitude is valid More... | |
void | ensureValidNonZero () const |
ensure that the Altitude is valid and non zero More... | |
Static Public Member Functions | |
static Altitude | getMin () |
get minimum valid Altitude (i.e. cMinValue) | |
static Altitude | getMax () |
get maximum valid Altitude (i.e. cMaxValue) | |
static Altitude | getPrecision () |
get assumed accuracy of Altitude (i.e. cPrecisionValue) | |
Static Public Attributes | |
static const double | cMinValue |
constant defining the minimum valid Altitude value (used in isValid()) | |
static const double | cMaxValue |
constant defining the maximum valid Altitude value (used in isValid()) | |
static const double | cPrecisionValue |
constant defining the assumed Altitude value accuracy (used in comparison operator==(), operator!=()) | |
DataType Altitude.
WGS-84 Altitude Depth of the Mariana Trench [m] 10994 Height of the Mount Everest [m] 8848 The unit is: Meter
|
inline |
default constructor
The default value of Altitude is: std::numeric_limits<double>::quiet_NaN()
|
inline |
standard constructor
|
inline |
|
inline |
|
inline |
|
inline |
conversion to base type: double
|
inline |
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
value
or the result of the operation is not valid standard arithmetic operator
[in] | other | Other Altitude |
standard arithmetic operator
[in] | other | Other Altitude |
|
inline |
standard arithmetic operator
standard arithmetic operator
[in] | other | Other Altitude |
standard arithmetic operator
[in] | other | Other Altitude |
|
inline |
standard arithmetic operator
[in] | other | Other Altitude |
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |