VieSched++
VieVS VLBI Scheduling Software
CoordGeodetic Struct Reference

Stores a geodetic location (latitude, longitude, altitude). More...

#include <CoordGeodetic.h>

Public Member Functions

 CoordGeodetic ()
 
 CoordGeodetic (double lat, double lon, double alt, bool is_radians=false)
 
 CoordGeodetic (const CoordGeodetic &geo)
 
CoordGeodeticoperator= (const CoordGeodetic &geo)
 
std::string ToString () const
 

Public Attributes

double latitude
 
double longitude
 
double altitude
 

Detailed Description

Stores a geodetic location (latitude, longitude, altitude).

Internally the values are stored in radians and kilometres.

Constructor & Destructor Documentation

CoordGeodetic::CoordGeodetic ( )
inline

Default constructor

CoordGeodetic::CoordGeodetic ( double  lat,
double  lon,
double  alt,
bool  is_radians = false 
)
inline

Constructor

Parameters
[in]latthe latitude (degrees by default)
[in]lonthe longitude (degrees by default)
[in]altthe altitude in kilometers
[in]is_radianswhether the latitude/longitude is in radians

Here is the call graph for this function:

CoordGeodetic::CoordGeodetic ( const CoordGeodetic geo)
inline

Copy constructor

Parameters
[in]geoobject to copy from

Member Function Documentation

CoordGeodetic& CoordGeodetic::operator= ( const CoordGeodetic geo)
inline

Assignment operator

Parameters
[in]geoobject to copy from
std::string CoordGeodetic::ToString ( ) const
inline

Dump this object to a string

Returns
string

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

double CoordGeodetic::altitude

altitude in kilometers

double CoordGeodetic::latitude

latitude in radians (-PI >= latitude < PI)

double CoordGeodetic::longitude

latitude in radians (-PI/2 >= latitude <= PI/2)


The documentation for this struct was generated from the following file: