VieSched++
VieVS VLBI Scheduling Software
VieVS::Position Class Reference

representation of VLBI station position More...

#include <Position.h>

Inheritance diagram for VieVS::Position:
Collaboration diagram for VieVS::Position:

Public Member Functions

 Position (double x_m, double y_m, double z_m)
 constructor More...
 
double getX () const noexcept
 getter for x coordinate More...
 
double getY () const noexcept
 getter for y coordinate More...
 
double getZ () const noexcept
 getter for z coordinate More...
 
double getLat () const noexcept
 getter for latitude More...
 
double getLon () const noexcept
 getter for longitude More...
 
double getAltitude () const noexcept
 getter for altitude More...
 
double getDistance (const Position &other) const noexcept
 calculates distance between two stations More...
 
void geodetic2Local (double g2l[3][3])
 get geodetic to local transformation matrix More...
 
const std::vector< std::vector< double > > getGeodetic2Local () const
 get geodetic to local transformation matrix More...
 
- Public Member Functions inherited from VieVS::VieVS_Object
 VieVS_Object (unsigned long id)
 constructor More...
 
const unsigned long getId () const
 get object id More...
 
bool hasValidId () const
 check if id is valid More...
 
bool hasId (unsigned long id) const
 check if object has specific id More...
 
void setId (unsigned long id)
 set object id More...
 
std::string printId () const
 object id string More...
 

Private Attributes

double x_
 x coordinate in meters More...
 
double y_
 y coordinate in meters More...
 
double z_
 z coordinate in meters More...
 
double lat_
 latitude in radians More...
 
double lon_
 longitude in radians More...
 
double h_
 height in meters More...
 
double g2l_ [3][3]
 geocentric to local transformation matrix More...
 
std::vector< std::vector< double > > g2l_2
 geocentric to local transformation matrix More...
 

Static Private Attributes

static unsigned long nextId = 0
 next id for this object type More...
 

Detailed Description

representation of VLBI station position

Author
Matthias Schartner
Date
23.06.2017

Constructor & Destructor Documentation

Position::Position ( double  x_m,
double  y_m,
double  z_m 
)

constructor

Author
Matthias Schartner
Parameters
x_mx coordinate in meters
y_my coordinate in meters
z_mz coordinate in meters

Here is the call graph for this function:

Member Function Documentation

void VieVS::Position::geodetic2Local ( double  g2l[3][3])
inline

get geodetic to local transformation matrix

Author
Matthias Schartner
Parameters
g2lgeodetic to local transformation matrix target
double VieVS::Position::getAltitude ( ) const
inlinenoexcept

getter for altitude

Author
Matthias Schartner
Returns
altitude in meters

Here is the call graph for this function:

double Position::getDistance ( const Position other) const
noexcept

calculates distance between two stations

Author
Matthias Schartner
Parameters
othersecond station
Returns
distance between stations

Here is the caller graph for this function:

const std::vector<std::vector<double> > VieVS::Position::getGeodetic2Local ( ) const
inline

get geodetic to local transformation matrix

Author
Matthias Schartner
Returns
geodetic to local transformation matrix
double VieVS::Position::getLat ( ) const
inlinenoexcept

getter for latitude

Author
Matthias Schartner
Returns
latitude in radians
double VieVS::Position::getLon ( ) const
inlinenoexcept

getter for longitude

Author
Matthias Schartner
Returns
longitude in radians
double VieVS::Position::getX ( ) const
inlinenoexcept

getter for x coordinate

Author
Matthias Schartner
Returns
x coordinate in meters
double VieVS::Position::getY ( ) const
inlinenoexcept

getter for y coordinate

Author
Matthias Schartner
Returns
y coordinate in meters
double VieVS::Position::getZ ( ) const
inlinenoexcept

getter for z coordinate

Author
Matthias Schartner
Returns
z coordinate in meters

Member Data Documentation

double VieVS::Position::g2l_[3][3]
private

geocentric to local transformation matrix

std::vector<std::vector<double> > VieVS::Position::g2l_2
private

geocentric to local transformation matrix

double VieVS::Position::h_
private

height in meters

double VieVS::Position::lat_
private

latitude in radians

double VieVS::Position::lon_
private

longitude in radians

unsigned long Position::nextId = 0
staticprivate

next id for this object type

double VieVS::Position::x_
private

x coordinate in meters

double VieVS::Position::y_
private

y coordinate in meters

double VieVS::Position::z_
private

z coordinate in meters


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