radar-coord-conversion-utility  0.7
RadarGeoCoord_util.hpp
Go to the documentation of this file.
1 
5 #ifndef __RADAR_GEO_COORD__
6 #define __RADAR_GEO_COORD__
7 
8 #include <limits>
9 #include <iostream>
10 using namespace std;
11 
12 /* Utilizzo le funzioni messe a disposizione dalla GeographicLib per muovermi sul geoide */
13 #include <GeographicLib/Math.hpp>
14 #include <GeographicLib/Geodesic.hpp>
15 #include <GeographicLib/GeodesicLine.hpp>
16 #include <GeographicLib/AzimuthalEquidistant.hpp>
17 
22 
23 using namespace GeographicLib;
37  protected:
38 
39 //private :
40 
44 
47  float Xcoord_p;
50  float Ycoord_p;
54  float Lat_p;
58  float Lon_p;
64  float Azimuth;
65 
66  public:
88  RadarGeoCoord_util(float latr,float lonr,float heightr, float aTH);
89 
94  float getLatR();
95 
100  float getLonR();
101 
106  float getHeightR();
107 
112  float getAntennaTowerHeight();
113 
122  void setRadarCoord(float latr,float lonr,float heightr, float aTH, bool cleanPointCoord = true);
123 
127  virtual void setPoint2Missing();
128 
135  void setPointAeqdCoords(float X, float Y, bool cleanOtherCoords = true) ;
136 
141  bool isPointXCoordSet();
142 
147  bool isPointYCoordSet();
148 
153  bool isPointAeqdCoordsSet();
154 
159  float getPointXCoord();
160 
165  float getPointYCoord();
166 
171  bool AeqdCoords2GeoCoords () ;
172 
179  void setPointGeoCoords(float lat, float lon, bool cleanOtherCoords = true) ;
180 
185  bool isPointLongitudeSet();
186 
191  bool isPointLatitudeSet() ;
192 
196  bool isPointGeoCoordsSet();
197 
202  float getPointLat();
203 
208  float getPointLon();
209 
214  bool GeoCoords2AeqdCoords () ;
215 
227  bool calculateGeodesicParam() ;
228 
239  bool invertGeodesicCalculation() ;
240 
247  void setPointGeodesicCoordinate (float Azimuth, float SurfaceDist, bool cleanOtherCoords = true);
248 
253  bool isAzimuthSet() ;
254 
259  bool isSurfaceDistanceSet() ;
260 
265  bool isGeodesicCoordsSet();
266 
271  float getSurfaceDistance() ;
272 
277  float getAzimuth() ;
278 
284  virtual bool fillCoords () ;
285 
286 protected:
292  void setLatR( float value) ;
293 
299  void setLonR( float value);
300 
305  void setHeightR( float value);
306 
312  void setAntennaTowerHeight( float value);
313 
318  void setPointXCoord(float value);
319 
324  void setPointYCoord(float value);
325 
331  void setPointLat(float value);
332 
338  void setPointLon(float value);
339 
344  void setSurfaceDistance(float value);
345 
350  void setAzimuth(float value);
351 };
352 
353 #endif
354 
Class to manage relationship between radar coordinates (Azimuth, elevation, range) and "pseudo-cilind...
Class to store radar site coordinates.
Class to calculate point coordinates related to radar place and coordinates.
Definition: RadarGeoCoord_util.hpp:36
RadarSite radar_site
Definition: RadarGeoCoord_util.hpp:43
float Azimuth
Definition: RadarGeoCoord_util.hpp:64
float Lon_p
Definition: RadarGeoCoord_util.hpp:58
float Xcoord_p
Definition: RadarGeoCoord_util.hpp:47
float Ycoord_p
Definition: RadarGeoCoord_util.hpp:50
float Lat_p
Definition: RadarGeoCoord_util.hpp:54
float surfaceDistance
Definition: RadarGeoCoord_util.hpp:61
Class to store radar site coordinate.
Definition: RadarSite.hpp:18
Namespace for generic utility used.
Radar coord exceptions.