radar-coord-conversion-utility
0.7
|
Class to calculate elements related to radar coordinates. More...
#include <radarcoordlib/RadarBeamCoord_util.hpp>
Public Member Functions | |
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 to radar height) More... | |
float | br_bh_2_elev (float beamRange, float beamHeight, float alt_rad) |
Calculate elevation angle as a function of the distance over the ray beam and beam height (relative to mean sea height) More... | |
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 to radar height) More... | |
float | ds_bh_2_elev (float surfDistance, float beamHeight, float alt_rad) |
Calculate elevation angle as a function of the distance over Earth surface and beam height (relative to mean sea height) More... | |
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. More... | |
float | elev_br_2_beamHeight (float elev, float beamRange, float alt_rad) |
Calculate beam height (relative to mean sea height) as a funcion of elevation and ray-beam distance. More... | |
float | elev_br_2_surfDistance (float elev, float beamRange) |
Calculate Surface Distance (on Earth surface) as a funcion of elevation and ray-beam distance. More... | |
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 height (relative to radar height) More... | |
float | elev_br_bh_2_surfDistance (float elev, float beamRange, float beamHeight, float alt_rad) |
Calculate Surface Distance (on Earth surface) as a funcion of elevation, ray-beam distance and beam height (relative to mean sea height) More... | |
float | elev_sd_2_beamHeight (float elev, float surfDistance) |
Calculate beam height (relative to radar height) as a funcion of elevation and surface distance. More... | |
float | elev_sd_2_beamHeight (float elev, float surfDistance, float alt_rad) |
Calculate beam height (relative to mean sea height) as a funcion of elevation and surface distance. More... | |
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 surface) More... | |
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 surface) and beam height (relative to radar height) More... | |
float | elev_sd_bh_2_beamRange (float elev, float surfDistance, float beamHeight, float alt_rad) |
Calculate the distance over the ray beam as a funcion of elevation, surface distance (over Earth surface) and beam height (relative to mean sea height) More... | |
float | getEarthRadius () |
Get the value tof private attribute EarthRadius. More... | |
RadarBeamCoord_util (float ea=6378137.) | |
Constructor. More... | |
void | setEarthRadius (float ea) |
Set private attribute EarthRadius used in some member functions. More... | |
Private Attributes | |
float | EarthRadius |
Class to calculate elements related to radar coordinates.
This class manage conversion between radar coordinates (Azimuth, elevation, range) and "pseudo-cilindric" coordinate on the a spherical Earth (azimuth, height, surface distance)
This class compute calculation with radar coordinates
RadarBeamCoord_util::RadarBeamCoord_util | ( | float | ea = 6378137. | ) |
Constructor.
[in] | ea | - Earth radius (meter) |
float RadarBeamCoord_util::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 to radar height)
[in] | beamRange | - Slantwise distance alon the beam (m) |
[in] | beamHeight | - Height of the center of the radar beam above the radar site level (m) |
float RadarBeamCoord_util::br_bh_2_elev | ( | float | beamRange, |
float | beamHeight, | ||
float | alt_rad | ||
) |
Calculate elevation angle as a function of the distance over the ray beam and beam height (relative to mean sea height)
[in] | beamRange | - Slantwise distance alon the beam (m) |
[in] | beamHeight | - Height above the msl of the center of the radar beam (m) |
[in] | alt_rad | - Height of the electromagnetic focus of the antenna above the msl |
float RadarBeamCoord_util::ds_bh_2_elev | ( | float | surfDistance, |
float | beamHeight | ||
) |
Calculate elevation angle as a function of the distance over Earth surface and beam height (relative to radar height)
[in] | surfDistance | - Distance over the earth surface (m) |
[in] | beamHeight | - Height of the center of the radar beam above the radar site level (m) |
float RadarBeamCoord_util::ds_bh_2_elev | ( | float | surfDistance, |
float | beamHeight, | ||
float | alt_rad | ||
) |
Calculate elevation angle as a function of the distance over Earth surface and beam height (relative to mean sea height)
[in] | surfDistance | - Distance over the earth surface (m) |
[in] | beamHeight | - Height above the msl of the center of the radar beam (m) |
[in] | alt_rad | - Height of the electromagnetic focus of the antenna above the msl |
float RadarBeamCoord_util::elev_br_2_beamHeight | ( | float | elev, |
float | beamRange | ||
) |
Calculate beam height (relative to radar height) as a funcion of elevation and ray-beam distance.
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | beamRange | - Slantwise distance alon the beam (m) |
float RadarBeamCoord_util::elev_br_2_beamHeight | ( | float | elev, |
float | beamRange, | ||
float | alt_rad | ||
) |
Calculate beam height (relative to mean sea height) as a funcion of elevation and ray-beam distance.
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | beamRange | - Slantwise distance alon the beam (m) |
[in] | alt_rad | - Height of the electromagnetic focus of the antenna above the msl |
float RadarBeamCoord_util::elev_br_2_surfDistance | ( | float | elev, |
float | beamRange | ||
) |
Calculate Surface Distance (on Earth surface) as a funcion of elevation and ray-beam distance.
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | beamRange | - Slantwise distance alon the beam (m) |
float RadarBeamCoord_util::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 height (relative to radar height)
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | beamRange | - Slantwise distance alon the beam (m) |
[in] | beamHeight | - Height of the center of the radar beam above the radar site level (m) |
float RadarBeamCoord_util::elev_br_bh_2_surfDistance | ( | float | elev, |
float | beamRange, | ||
float | beamHeight, | ||
float | alt_rad | ||
) |
Calculate Surface Distance (on Earth surface) as a funcion of elevation, ray-beam distance and beam height (relative to mean sea height)
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | beamRange | - Slantwise distance alon the beam (m) |
[in] | beamHeight | - Height above the msl of the center of the radar beam (m) |
[in] | alt_rad | - Height of the electromagnetic focus of the antenna above the msl |
float RadarBeamCoord_util::elev_sd_2_beamHeight | ( | float | elev, |
float | surfDistance | ||
) |
Calculate beam height (relative to radar height) as a funcion of elevation and surface distance.
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | surfDistance | - Distance over the earth surface (m) |
float RadarBeamCoord_util::elev_sd_2_beamHeight | ( | float | elev, |
float | surfDistance, | ||
float | alt_rad | ||
) |
Calculate beam height (relative to mean sea height) as a funcion of elevation and surface distance.
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | surfDistance | - Distance over the earth surface (m) |
[in] | alt_rad | - Height of the electromagnetic focus of the antenna above the msl |
float RadarBeamCoord_util::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 surface)
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | surfDistance | - Distance over the earth surface (m) |
float RadarBeamCoord_util::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 surface) and beam height (relative to radar height)
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | surfDistance | - Distance over the earth surface (m) |
[in] | beamHeight | - Height of the center of the radar beam above the radar site level (m) |
float RadarBeamCoord_util::elev_sd_bh_2_beamRange | ( | float | elev, |
float | surfDistance, | ||
float | beamHeight, | ||
float | alt_rad | ||
) |
Calculate the distance over the ray beam as a funcion of elevation, surface distance (over Earth surface) and beam height (relative to mean sea height)
[in] | elev | - Elevation of radar beam (Degree above horizon) |
[in] | surfDistance | - Distance over the earth surface (m) |
[in] | beamHeight | - Height above the msl of the center of the radar beam (m) |
[in] | alt_rad | - Height of the electromagnetic focus of the antenna above the msl |
float RadarBeamCoord_util::getEarthRadius | ( | ) |
Get the value tof private attribute EarthRadius.
void RadarBeamCoord_util::setEarthRadius | ( | float | ea | ) |
Set private attribute EarthRadius used in some member functions.
he
[in] | ea | - Earth radius (meter) |
|
private |
EarthRadius
Radius of Spherical earth (m)