radar-coord-conversion-utility 0.8
|
Generic utility namespace. More...
Functions | |
bool | checkBeamDistance (float value) |
Check if BeamDistance is a valid value. | |
bool | checkElevation (float value) |
Check if Elevation is a valid value. | |
bool | checkLatitude (float value) |
Check if latitude is a valid value. | |
bool | checkLongitude (float value) |
Check if longitude is a valid value. | |
float | getMissing () |
Return the missing value used for private attribute (NaN if available or the maximum float supported) | |
bool | isMissing (float value) |
Check if the float value passed is set to missing value. | |
Generic utility namespace.
bool generic::checkBeamDistance | ( | float | value | ) |
Check if BeamDistance is a valid value.
[in] | value | - BeamDistance value to be controlled (greater-equal 0.) |
bool generic::checkElevation | ( | float | value | ) |
Check if Elevation is a valid value.
[in] | value | - Elevation value to be controlled (degree above horizon [-5., +90.]) |
bool generic::checkLatitude | ( | float | value | ) |
Check if latitude is a valid value.
[in] | value | - Latitude value to be controlled (degree N [-90., +90.]) |
bool generic::checkLongitude | ( | float | value | ) |
Check if longitude is a valid value.
[in] | value | - Longitude value to be controlled (degree E [-180., +180.]) |
float generic::getMissing | ( | ) |
Return the missing value used for private attribute (NaN if available or the maximum float supported)
bool generic::isMissing | ( | float | value | ) |
Check if the float value passed is set to missing value.