radar-coord-conversion-utility  0.7
RadarSite Class Reference

Class to store radar site coordinate. More...

#include <radarcoordlib/RadarSite.hpp>

Public Member Functions

float getAntennaTowerHeight ()
 get beam electromagnetic focus height above surface value More...
 
float getHeightR ()
 get radar height above msl value More...
 
float getLatR ()
 get radar latitude value More...
 
float getLonR ()
 get radar longitude value More...
 
 RadarSite ()
 Constructor. More...
 
 RadarSite (float latr, float lonr, float heightr, float aTH)
 Constructor with radar coordinates passed. More...
 
void setAntennaTowerHeight (float value)
 set beam electromagnetic focus height above surface value More...
 
void setHeightR (float value)
 set radar height above msl value More...
 
void setLatR (float value)
 set radar latitude value More...
 
void setLonR (float value)
 set radar longitude value More...
 
void setRadarCoord (float latr, float lonr, float heightr, float aTH)
 Set radar coordinates. More...
 

Private Attributes

float antennaTowerHeight
 
float height_r
 
float lat_r
 
float lon_r
 

Detailed Description

Class to store radar site coordinate.

Constructor & Destructor Documentation

◆ RadarSite() [1/2]

RadarSite::RadarSite ( )

Constructor.

Inizialize radar site coordinates at
Lat : 0. N - Lon : 0. E - Height : 0. m - Antennatower height : 0. m

◆ RadarSite() [2/2]

RadarSite::RadarSite ( float  latr,
float  lonr,
float  heightr,
float  aTH 
)

Constructor with radar coordinates passed.

Parameters
latr- Radar site Latitude
lonr- Radar site Longitude
heightr- Height above the msl of radar site (antenna tower not included)
aTH- Height of the electric antenna focus related above the surface

Member Function Documentation

◆ getAntennaTowerHeight()

float RadarSite::getAntennaTowerHeight ( )

get beam electromagnetic focus height above surface value

Returns
Height of the electric antenna focus related above the surface

◆ getHeightR()

float RadarSite::getHeightR ( )

get radar height above msl value

Returns
Height above the msl of radar site (antenna tower not included)

◆ getLatR()

float RadarSite::getLatR ( )

get radar latitude value

Returns
Radar site Latitude

◆ getLonR()

float RadarSite::getLonR ( )

get radar longitude value

Returns
Radar site Longitude

◆ setAntennaTowerHeight()

void RadarSite::setAntennaTowerHeight ( float  value)

set beam electromagnetic focus height above surface value

Parameters
value- Height of the electric antenna focus related above the surface
Exceptions
RadarCoordBadDataException- if value passed if outsite [0, +100]

◆ setHeightR()

void RadarSite::setHeightR ( float  value)

set radar height above msl value

Parameters
value- Height above the msl of radar site (antenna tower not included)

◆ setLatR()

void RadarSite::setLatR ( float  value)

set radar latitude value

Parameters
value- Radar site Latitude
Exceptions
RadarCoordBadDataException- if value passed if outsite [-90, +90]

◆ setLonR()

void RadarSite::setLonR ( float  value)

set radar longitude value

Parameters
value- Radar site Longitude
Exceptions
RadarCoordBadDataException- if value passed if outsite [-180, +180]

◆ setRadarCoord()

void RadarSite::setRadarCoord ( float  latr,
float  lonr,
float  heightr,
float  aTH 
)

Set radar coordinates.

Parameters
[in]latr- Radar site Latitude
[in]lonr- Radar site Longitude
[in]heightr- Height above the msl of radar site (antenna tower not included)
[in]aTH- Height of the electric antenna focus related above the surface

Member Data Documentation

◆ antennaTowerHeight

float RadarSite::antennaTowerHeight
private

antennaTowerHeight

Height of the electric antenna focus related above the surface

◆ height_r

float RadarSite::height_r
private

height_r

Height above the msl of radar position (antenna tower not included)

◆ lat_r

float RadarSite::lat_r
private

lat_r

Latitude of the radar place

See also
checkLatitude

◆ lon_r

float RadarSite::lon_r
private

lon_r

Longitude of radar place

See also
checkLongitude

The documentation for this class was generated from the following files: