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::RadarSite ( )

Constructor.

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

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

float RadarSite::getAntennaTowerHeight ( )

get beam electromagnetic focus height above surface value

Returns
Height of the electric antenna focus related above the surface
float RadarSite::getHeightR ( )

get radar height above msl value

Returns
Height above the msl of radar site (antenna tower not included)
float RadarSite::getLatR ( )

get radar latitude value

Returns
Radar site Latitude
float RadarSite::getLonR ( )

get radar longitude value

Returns
Radar site Longitude
void RadarSite::setAntennaTowerHeight ( float  value)

set beam electromagnetic focus height above surface value

   \param value     - Height of the electric antenna focus related above the surface
Exceptions
RadarCoordBadDataException- if value passed if outsite [0, +100]
void RadarSite::setHeightR ( float  value)

set radar height above msl value

Parameters
value- Height above the msl of radar site (antenna tower not included)
void RadarSite::setLatR ( float  value)

set radar latitude value

Parameters
value- Radar site Latitude
Exceptions
RadarCoordBadDataException- if value passed if outsite [-90, +90]
void RadarSite::setLonR ( float  value)

set radar longitude value

Parameters
value- Radar site Longitude
Exceptions
RadarCoordBadDataException- if value passed if outsite [-180, +180]
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

float RadarSite::antennaTowerHeight
private

antennaTowerHeight

Height of the electric antenna focus related above the surface

float RadarSite::height_r
private

height_r

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

float RadarSite::lat_r
private

lat_r

Latitude of the radar place

See Also
checkLatitude
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: