5 #ifndef __RADAR_SEGMENT_UTIL__
6 #define __RADAR_SEGMENT_UTIL__
15 #include <GeographicLib/Math.hpp>
16 #include <GeographicLib/Geodesic.hpp>
17 #include <GeographicLib/GeodesicLine.hpp>
24 #define SEGMENT_LENGTH_MINIMUM 1.
148 void setRadarCoord(
float latr,
float lonr,
float heightr,
float aTH);
163 bool setSegmentGeo(
float lat_begin,
float lon_begin,
float lat_end,
float lon_end) ;
177 bool setSegmentAeqd(
float x_begin,
float y_begin,
float x_end,
float y_end) ;
191 bool setSegmentGeodesic(
float az_begin,
float surfDist_begin,
float az_end,
float surfDist_end) ;
200 void clearSegmentPoints();
205 float getSegmentAzimuth();
210 float getSegmentLength();
223 void CalculateSegment();
230 vector<RadarPoint_util> getSegment();
267 int getSegmentNumPoint();
272 float getSegmentLineStep();
277 float getSegmentAzimuthStep();
293 void setSegmentElevation(
float elev);
303 void setSegmentHeight(
float height);
319 bool isSegmentLengthValid();
325 void printSegmentInfo(std::ostream& out = std::cout);
332 float distanceAlongSegment(
int i);
339 bool setSegmentVersus();
345 void setSegmentLength(
float value);
350 void setSegmentNumPoint(
int value);
355 void setSegmentLineStep(
float value);
360 void setSegmentAzimuthStep(
float value);
365 void CalculateSegmentNumPoint();
369 void CalculateSegmentLineStep();
373 void CalculateSegmentAzimuthStep();
377 void SetGeodesicLine();
GeographicLib::GeodesicLine SegmentLine
Definition: RadarSegment_util.hpp:83
float segmentStep
Definition: RadarSegment_util.hpp:95
Class to manage relationship between radar site and a single point.
Class to calculate radar point coordinates along a defined segment relative to radar site...
Definition: RadarSegment_util.hpp:65
vector< RadarPoint_util > SegmentPoint
Definition: RadarSegment_util.hpp:110
float AzimuthStep
Definition: RadarSegment_util.hpp:102
RadarPoint_util endSegment
Definition: RadarSegment_util.hpp:74
RadarPoint_util beginSegment
Definition: RadarSegment_util.hpp:70
Namespace for generic utility used.
int numPoint
Definition: RadarSegment_util.hpp:88
Class to manage relationship between radar coordinates (Azimuth, elevation, range) and "pseudo-cilind...
float segmentLength
Definition: RadarSegment_util.hpp:78
Class to manage relationship between radar site and a single point over the Earth.
Class to calculate radar point coordinates related to radar place and coordinates.
Definition: RadarPoint_util.hpp:33
SegmentFillingMethod stepType
Definition: RadarSegment_util.hpp:106
RotationVersus
Versus of rotation.
Definition: RadarSegment_util.hpp:46
SegmentFillingMethod
Definition of filling types .
Definition: RadarSegment_util.hpp:36
RotationVersus segmentVersus
Definition: RadarSegment_util.hpp:115