VieSched++
VieVS VLBI Scheduling Software
Eci Class Reference

Stores an Earth-centered inertial position for a particular time. More...

#include <Eci.h>

Collaboration diagram for Eci:

Public Member Functions

 Eci (const DateTime &dt, const double latitude, const double longitude, const double altitude)
 
 Eci (const DateTime &dt, const CoordGeodetic &geo)
 
 Eci (const DateTime &dt, const Vector &position)
 
 Eci (const DateTime &dt, const Vector &position, const Vector &velocity)
 
bool operator== (const DateTime &dt) const
 
bool operator!= (const DateTime &dt) const
 
void Update (const DateTime &dt, const CoordGeodetic &geo)
 
Vector Position () const
 
Vector Velocity () const
 
DateTime GetDateTime () const
 
CoordGeodetic ToGeodetic () const
 

Private Member Functions

void ToEci (const DateTime &dt, const CoordGeodetic &geo)
 

Private Attributes

DateTime m_dt
 
Vector m_position
 
Vector m_velocity
 

Detailed Description

Stores an Earth-centered inertial position for a particular time.

Constructor & Destructor Documentation

Eci::Eci ( const DateTime dt,
const double  latitude,
const double  longitude,
const double  altitude 
)
inline
Parameters
[in]dtthe date to be used for this position
[in]latitudethe latitude in degrees
[in]longitudethe longitude in degrees
[in]altitudethe altitude in kilometers

Here is the call graph for this function:

Eci::Eci ( const DateTime dt,
const CoordGeodetic geo 
)
inline
Parameters
[in]dtthe date to be used for this position
[in]geothe position

Here is the call graph for this function:

Eci::Eci ( const DateTime dt,
const Vector position 
)
inline
Parameters
[in]dtthe date to be used for this position
[in]positionthe position
Eci::Eci ( const DateTime dt,
const Vector position,
const Vector velocity 
)
inline
Parameters
[in]dtthe date to be used for this position
[in]positionthe position
[in]velocitythe velocity

Member Function Documentation

DateTime Eci::GetDateTime ( ) const
inline
Returns
the date

Here is the call graph for this function:

Here is the caller graph for this function:

bool Eci::operator!= ( const DateTime dt) const
inline

Inequality operator

Parameters
dtthe date to compare
Returns
true if the object doesn't match
bool Eci::operator== ( const DateTime dt) const
inline

Equality operator

Parameters
dtthe date to compare
Returns
true if the object matches
Vector Eci::Position ( ) const
inline
Returns
the position

Here is the caller graph for this function:

void Eci::ToEci ( const DateTime dt,
const CoordGeodetic geo 
)
private

Here is the caller graph for this function:

CoordGeodetic Eci::ToGeodetic ( ) const
Returns
the position in geodetic form

Here is the caller graph for this function:

void Eci::Update ( const DateTime dt,
const CoordGeodetic geo 
)
inline

Update this object with a new date and geodetic position

Parameters
dtnew date
geonew geodetic position

Here is the call graph for this function:

Here is the caller graph for this function:

Vector Eci::Velocity ( ) const
inline
Returns
the velocity

Here is the caller graph for this function:

Member Data Documentation

DateTime Eci::m_dt
private
Vector Eci::m_position
private
Vector Eci::m_velocity
private

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