ad_map_access
|
DataType ENUHeading. More...
#include <ad/map/point/ENUHeading.hpp>
Public Member Functions | |
ENUHeading () | |
default constructor More... | |
_AD_MAP_POINT_ENUHEADING_EXPLICIT_CONVERSION_ | ENUHeading (double const iENUHeading) |
standard constructor More... | |
ENUHeading (const ENUHeading &other)=default | |
standard copy constructor | |
ENUHeading (ENUHeading &&other)=default | |
standard move constructor | |
ENUHeading & | operator= (const ENUHeading &other)=default |
standard assignment operator More... | |
ENUHeading & | operator= (ENUHeading &&other)=default |
standard move operator More... | |
bool | operator== (const ENUHeading &other) const |
standard comparison operator More... | |
bool | operator!= (const ENUHeading &other) const |
standard comparison operator More... | |
bool | operator> (const ENUHeading &other) const |
standard comparison operator More... | |
bool | operator< (const ENUHeading &other) const |
standard comparison operator More... | |
bool | operator>= (const ENUHeading &other) const |
standard comparison operator More... | |
bool | operator<= (const ENUHeading &other) const |
standard comparison operator More... | |
ENUHeading | operator+ (const ENUHeading &other) const |
standard arithmetic operator More... | |
ENUHeading & | operator+= (const ENUHeading &other) |
standard arithmetic operator More... | |
ENUHeading | operator- (const ENUHeading &other) const |
standard arithmetic operator More... | |
ENUHeading | operator-= (const ENUHeading &other) |
standard arithmetic operator More... | |
ENUHeading | operator* (const double &scalar) const |
standard arithmetic operator More... | |
ENUHeading | operator/ (const double &scalar) const |
standard arithmetic operator More... | |
double | operator/ (const ENUHeading &other) const |
standard arithmetic operator More... | |
ENUHeading | operator- () const |
standard arithmetic operator More... | |
_AD_MAP_POINT_ENUHEADING_EXPLICIT_CONVERSION_ | operator double () const |
conversion to base type: double More... | |
bool | isValid () const |
void | ensureValid () const |
ensure that the ENUHeading is valid More... | |
void | ensureValidNonZero () const |
ensure that the ENUHeading is valid and non zero More... | |
Static Public Member Functions | |
static ENUHeading | getMin () |
get minimum valid ENUHeading (i.e. cMinValue) | |
static ENUHeading | getMax () |
get maximum valid ENUHeading (i.e. cMaxValue) | |
static ENUHeading | getPrecision () |
get assumed accuracy of ENUHeading (i.e. cPrecisionValue) | |
Static Public Attributes | |
static const double | cMinValue |
constant defining the minimum valid ENUHeading value (used in isValid()) | |
static const double | cMaxValue |
constant defining the maximum valid ENUHeading value (used in isValid()) | |
static const double | cPrecisionValue |
constant defining the assumed ENUHeading value accuracy (used in comparison operator==(), operator!=()) | |
DataType ENUHeading.
Angle in ENU coordinate system as angle measured from East to North axis (yaw) in radians. The unit is: Radian
|
inline |
default constructor
The default value of ENUHeading is: std::numeric_limits<double>::quiet_NaN()
|
inline |
standard constructor
|
inline |
ensure that the ENUHeading is valid
Throws an std::out_of_range() exception if the ENUHeading in not valid (i.e. isValid() returns false)
|
inline |
ensure that the ENUHeading is valid and non zero
Throws an std::out_of_range() exception if the ENUHeading in not valid or zero (i.e. isValid() returns false)
|
inline |
true
if the ENUHeading in a valid rangeAn ENUHeading value is defined to be valid if:
|
inline |
conversion to base type: double
|
inline |
standard comparison operator
[in] | other | Other ENUHeading. |
true
if one of the ENUHeading 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 ENUHeading |
|
inline |
standard arithmetic operator
[in] | other | Other ENUHeading |
|
inline |
standard arithmetic operator
|
inline |
standard arithmetic operator
[in] | other | Other ENUHeading |
|
inline |
standard arithmetic operator
[in] | other | Other ENUHeading |
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
|
inline |
standard arithmetic operator
[in] | other | Other ENUHeading |
|
inline |
standard comparison operator
[in] | other | Other ENUHeading. |
true
if both ENUHeading are valid and this ENUHeading is strictly numerically smaller than other.
|
inline |
standard comparison operator
[in] | other | Other ENUHeading |
true
if both ENUHeading are valid and this ENUHeading is numerically smaller than other.
|
default |
standard assignment operator
[in] | other | Other ENUHeading |
|
default |
|
inline |
standard comparison operator
[in] | other | Other ENUHeading |
true
if both ENUHeading are valid and can be taken as numerically equal
|
inline |
standard comparison operator
[in] | other | Other ENUHeading. |
true
if both ENUHeading are valid and this ENUHeading is strictly numerically greater than other.
|
inline |
standard comparison operator
[in] | other | Other ENUHeading. |
true
if both ENUHeading are valid and this ENUHeading is numerically greater than other.