radar-coord-conversion-utility 0.8
generic.hpp
Go to the documentation of this file.
1
5#ifndef __namespace_generic__
6#define __namespace_generic__
7
8#include <limits>
9//#include <iostream>
10using namespace std;
11
12//#include <radar_coord_exceptions.hpp>
13
18namespace generic{
23 float getMissing();
24
29 bool isMissing(float value);
30
36 bool checkLongitude(float value);
37
43 bool checkLatitude(float value);
44
50 bool checkElevation(float value);
56 bool checkBeamDistance (float value);
57};
58#endif
Generic utility namespace.
Definition generic.hpp:18
bool checkLongitude(float value)
Check if longitude is a valid value.
Definition generic.cpp:16
bool isMissing(float value)
Check if the float value passed is set to missing value.
Definition generic.cpp:8
float getMissing()
Return the missing value used for private attribute (NaN if available or the maximum float supported)
Definition generic.cpp:3
bool checkElevation(float value)
Check if Elevation is a valid value.
Definition generic.cpp:26
bool checkLatitude(float value)
Check if latitude is a valid value.
Definition generic.cpp:21
bool checkBeamDistance(float value)
Check if BeamDistance is a valid value.
Definition generic.cpp:32