ad_map_access
|
DataType ENUCoordinate. More...
#include <ad/map/point/ENUCoordinate.hpp>
Public Member Functions | |
ENUCoordinate () | |
default constructor More... | |
_AD_MAP_POINT_ENUCOORDINATE_EXPLICIT_CONVERSION_ | ENUCoordinate (double const iENUCoordinate) |
standard constructor More... | |
ENUCoordinate (const ENUCoordinate &other)=default | |
standard copy constructor | |
ENUCoordinate (ENUCoordinate &&other)=default | |
standard move constructor | |
ENUCoordinate & | operator= (const ENUCoordinate &other)=default |
standard assignment operator More... | |
ENUCoordinate & | operator= (ENUCoordinate &&other)=default |
standard move operator More... | |
bool | operator== (const ENUCoordinate &other) const |
standard comparison operator More... | |
bool | operator!= (const ENUCoordinate &other) const |
standard comparison operator More... | |
bool | operator> (const ENUCoordinate &other) const |
standard comparison operator More... | |
bool | operator< (const ENUCoordinate &other) const |
standard comparison operator More... | |
bool | operator>= (const ENUCoordinate &other) const |
standard comparison operator More... | |
bool | operator<= (const ENUCoordinate &other) const |
standard comparison operator More... | |
ENUCoordinate | operator+ (const ENUCoordinate &other) const |
standard arithmetic operator More... | |
ENUCoordinate & | operator+= (const ENUCoordinate &other) |
standard arithmetic operator More... | |
ENUCoordinate | operator- (const ENUCoordinate &other) const |
standard arithmetic operator More... | |
ENUCoordinate | operator-= (const ENUCoordinate &other) |
standard arithmetic operator More... | |
ENUCoordinate | operator* (const double &scalar) const |
standard arithmetic operator More... | |
ENUCoordinate | operator/ (const double &scalar) const |
standard arithmetic operator More... | |
double | operator/ (const ENUCoordinate &other) const |
standard arithmetic operator More... | |
ENUCoordinate | operator- () const |
standard arithmetic operator More... | |
_AD_MAP_POINT_ENUCOORDINATE_EXPLICIT_CONVERSION_ | operator double () const |
conversion to base type: double More... | |
bool | isValid () const |
void | ensureValid () const |
ensure that the ENUCoordinate is valid More... | |
void | ensureValidNonZero () const |
ensure that the ENUCoordinate is valid and non zero More... | |
Static Public Member Functions | |
static ENUCoordinate | getMin () |
get minimum valid ENUCoordinate (i.e. cMinValue) | |
static ENUCoordinate | getMax () |
get maximum valid ENUCoordinate (i.e. cMaxValue) | |
static ENUCoordinate | getPrecision () |
get assumed accuracy of ENUCoordinate (i.e. cPrecisionValue) | |
Static Public Attributes | |
static const double | cMinValue |
constant defining the minimum valid ENUCoordinate value (used in isValid()) | |
static const double | cMaxValue |
constant defining the maximum valid ENUCoordinate value (used in isValid()) | |
static const double | cPrecisionValue |
constant defining the assumed ENUCoordinate value accuracy (used in comparison operator==(), operator!=()) | |
DataType ENUCoordinate.
Maximum ENU coordinate (16 km): 16384 The unit is: Meter
|
inline |
default constructor
The default value of ENUCoordinate is: std::numeric_limits<double>::quiet_NaN()
|
inline |
standard constructor
|
inline |
ensure that the ENUCoordinate is valid
Throws an std::out_of_range() exception if the ENUCoordinate in not valid (i.e. isValid() returns false)
|
inline |
ensure that the ENUCoordinate is valid and non zero
Throws an std::out_of_range() exception if the ENUCoordinate in not valid or zero (i.e. isValid() returns false)
|
inline |
true
if the ENUCoordinate in a valid rangeAn ENUCoordinate value is defined to be valid if:
|
inline |
conversion to base type: double
|
inline |
standard comparison operator
[in] | other | Other ENUCoordinate. |
true
if one of the ENUCoordinate is not valid or they can be taken as numerically different
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
value
or the result of the operation is not valid
|
inline |
standard arithmetic operator
[in] | other | Other ENUCoordinate |
|
inline |
standard arithmetic operator
[in] | other | Other ENUCoordinate |
|
inline |
standard arithmetic operator
|
inline |
standard arithmetic operator
[in] | other | Other ENUCoordinate |
|
inline |
standard arithmetic operator
[in] | other | Other ENUCoordinate |
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
|
inline |
standard arithmetic operator
[in] | other | Other ENUCoordinate |
|
inline |
standard comparison operator
[in] | other | Other ENUCoordinate. |
true
if both ENUCoordinate are valid and this ENUCoordinate is strictly numerically smaller than other.
|
inline |
standard comparison operator
[in] | other | Other ENUCoordinate |
true
if both ENUCoordinate are valid and this ENUCoordinate is numerically smaller than other.
|
default |
standard assignment operator
[in] | other | Other ENUCoordinate |
|
default |
standard move operator
[in] | other | Other ENUCoordinate |
|
inline |
standard comparison operator
[in] | other | Other ENUCoordinate |
true
if both ENUCoordinate are valid and can be taken as numerically equal
|
inline |
standard comparison operator
[in] | other | Other ENUCoordinate. |
true
if both ENUCoordinate are valid and this ENUCoordinate is strictly numerically greater than other.
|
inline |
standard comparison operator
[in] | other | Other ENUCoordinate. |
true
if both ENUCoordinate are valid and this ENUCoordinate is numerically greater than other.