ad_map_access
|
#include <ad/map/point/Longitude.hpp>
Public Member Functions | |
Longitude () | |
default constructor More... | |
_AD_MAP_POINT_LONGITUDE_EXPLICIT_CONVERSION_ | Longitude (double const iLongitude) |
standard constructor More... | |
Longitude (const Longitude &other)=default | |
standard copy constructor | |
Longitude (Longitude &&other)=default | |
standard move constructor | |
Longitude & | operator= (const Longitude &other)=default |
standard assignment operator More... | |
Longitude & | operator= (Longitude &&other)=default |
standard move operator More... | |
bool | operator== (const Longitude &other) const |
standard comparison operator More... | |
bool | operator!= (const Longitude &other) const |
standard comparison operator More... | |
bool | operator> (const Longitude &other) const |
standard comparison operator More... | |
bool | operator< (const Longitude &other) const |
standard comparison operator More... | |
bool | operator>= (const Longitude &other) const |
standard comparison operator More... | |
bool | operator<= (const Longitude &other) const |
standard comparison operator More... | |
Longitude | operator+ (const Longitude &other) const |
standard arithmetic operator More... | |
Longitude & | operator+= (const Longitude &other) |
standard arithmetic operator More... | |
Longitude | operator- (const Longitude &other) const |
standard arithmetic operator More... | |
Longitude | operator-= (const Longitude &other) |
standard arithmetic operator More... | |
Longitude | operator* (const double &scalar) const |
standard arithmetic operator More... | |
Longitude | operator/ (const double &scalar) const |
standard arithmetic operator More... | |
double | operator/ (const Longitude &other) const |
standard arithmetic operator More... | |
Longitude | operator- () const |
standard arithmetic operator More... | |
_AD_MAP_POINT_LONGITUDE_EXPLICIT_CONVERSION_ | operator double () const |
conversion to base type: double More... | |
bool | isValid () const |
void | ensureValid () const |
ensure that the Longitude is valid More... | |
void | ensureValidNonZero () const |
ensure that the Longitude is valid and non zero More... | |
Static Public Member Functions | |
static Longitude | getMin () |
get minimum valid Longitude (i.e. cMinValue) | |
static Longitude | getMax () |
get maximum valid Longitude (i.e. cMaxValue) | |
static Longitude | getPrecision () |
get assumed accuracy of Longitude (i.e. cPrecisionValue) | |
Static Public Attributes | |
static const double | cMinValue |
constant defining the minimum valid Longitude value (used in isValid()) | |
static const double | cMaxValue |
constant defining the maximum valid Longitude value (used in isValid()) | |
static const double | cPrecisionValue |
constant defining the assumed Longitude value accuracy (used in comparison operator==(), operator!=()) | |
|
inline |
default constructor
The default value of Longitude 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 Longitude |
standard arithmetic operator
[in] | other | Other Longitude |
|
inline |
standard arithmetic operator
standard arithmetic operator
[in] | other | Other Longitude |
standard arithmetic operator
[in] | other | Other Longitude |
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
|
inline |
standard arithmetic operator
[in] | other | Other Longitude |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |