5 #ifndef __RADAR_BEAM_COORD_UTIL__ 6 #define __RADAR_BEAM_COORD_UTIL__ 10 #define DEG2RAD(a) a*M_PI/180. // degree to radiants 11 #define RAD2DEG(a) a*180.*M_1_PI // radiants to degree 12 #define KeA(a) 4./3.* a // WGS84 semimajor axis 153 float br_bh_2_elev(
float beamRange,
float beamHeight,
float alt_rad);
162 float ds_bh_2_elev(
float surfDistance,
float beamHeight);
170 float ds_bh_2_elev(
float surfDistance,
float beamHeight,
float alt_rad);
RadarBeamCoord_util(float ea=6378137.)
Constructor.
Definition: RadarBeamCoord_util.cpp:3
float elev_sd_bh_2_beamRange(float elev, float surfDistance, float beamHeight)
Calculate the distance over the ray beam as a funcion of elevation, surface distance (over Earth surf...
Definition: RadarBeamCoord_util.cpp:64
float elev_br_bh_2_surfDistance(float elev, float beamRange, float beamHeight)
Calculate Surface Distance (on Earth surface) as a funcion of elevation, ray-beam distance and beam h...
Definition: RadarBeamCoord_util.cpp:40
float EarthRadius
Definition: RadarBeamCoord_util.hpp:27
float elev_sd_2_beamHeight(float elev, float surfDistance)
Calculate beam height (relative to radar height) as a funcion of elevation and surface distance...
Definition: RadarBeamCoord_util.cpp:8
void setEarthRadius(float ea)
Set private attribute EarthRadius used in some member functions.
Definition: RadarBeamCoord_util.cpp:4
float getEarthRadius()
Get the value tof private attribute EarthRadius.
Definition: RadarBeamCoord_util.cpp:5
float ds_bh_2_elev(float surfDistance, float beamHeight)
Calculate elevation angle as a function of the distance over Earth surface and beam height (relative ...
Definition: RadarBeamCoord_util.cpp:122
float br_bh_2_elev(float beamRange, float beamHeight)
Calculate elevation angle as a function of the distance over the ray beam and beam height (relative t...
Definition: RadarBeamCoord_util.cpp:88
Class to calculate elements related to radar coordinates.
Definition: RadarBeamCoord_util.hpp:23
float elev_sd_2_beamRange(float elev, float surfDistance)
Calculate the distance over the ray beam as a funcion of elevation and surface distance (over Earth s...
Definition: RadarBeamCoord_util.cpp:80
float elev_br_2_surfDistance(float elev, float beamRange)
Calculate Surface Distance (on Earth surface) as a funcion of elevation and ray-beam distance...
Definition: RadarBeamCoord_util.cpp:55
float elev_br_2_beamHeight(float elev, float beamRange)
Calculate beam height (relative to radar height) as a funcion of elevation and ray-beam distance...
Definition: RadarBeamCoord_util.cpp:24