Stellarium 0.15.2
List of all members | Public Member Functions
gSatTEME Class Reference

Sat position and velocity predictions over TEME reference system. More...

#include <gSatTEME.hpp>

Public Member Functions

 gSatTEME (const char *pstrName, char *pstrTleLine1, char *pstrTleLine2)
 Default class gSatTEME constructor. More...
 
void setEpoch (gTime ai_time)
 Set compute epoch for prediction. More...
 
void setEpoch (double ai_time)
 Set compute epoch for prediction. More...
 
void setMinSinceKepEpoch (double ai_minSinceKepEpoch)
 Set compute epoch for prediction in minutes since Keplerian data Epoch. More...
 
gVector getPos ()
 Get the TEME satellite position Vector. More...
 
gVector getVel ()
 Get the TEME satellite Velocity Vector. More...
 
gVector getSubPoint ()
 Get the Geographic satellite subpoint Vector calculated by the method compute SubPoint. More...
 
int getErrorCode ()
 

Detailed Description

Sat position and velocity predictions over TEME reference system.

Class to abstract all the SGP4 complexity. It implementation wrap whit an object oriented class the revised David. A. Vallado code for SGP4 Calculation. (Spacetrack report #6 revised AIAA-2006-6753-rev1)

Definition at line 54 of file gSatTEME.hpp.

Constructor & Destructor Documentation

gSatTEME::gSatTEME ( const char *  pstrName,
char *  pstrTleLine1,
char *  pstrTleLine2 
)

Default class gSatTEME constructor.

Parameters
[in]pstrNamePointer to a null end string with the Sat. Name
[in]pstrTleLine1Pointer to a null end string with the first TLE Kep. data line
[in]pstrTleLine2Pointer to a null end string with the second TLE Kep. data line

Member Function Documentation

gVector gSatTEME::getPos ( )
inline

Get the TEME satellite position Vector.

Returns
gVector Satellite position vector meassured in Km. x: position[0] y: position[1] z: position[2]

Definition at line 94 of file gSatTEME.hpp.

gVector gSatTEME::getSubPoint ( )
inline

Get the Geographic satellite subpoint Vector calculated by the method compute SubPoint.

To implement this operation, next references has been used: Orbital Coordinate Systems, Part III By Dr. T.S. Kelso http://www.celestrak.com/columns/v02n03/

Returns
gVector Geographical coordinates
Latitude: Coord[0] measured in degrees
Longitude: Coord[1] measured in degrees
Altitude: Coord[2] measured in Km.

Definition at line 122 of file gSatTEME.hpp.

gVector gSatTEME::getVel ( )
inline

Get the TEME satellite Velocity Vector.

Returns
gVector Satellite Velocity Vector measured in Km/s x: Vel[0]
y: Vel[1]
z: Vel[2]

Definition at line 105 of file gSatTEME.hpp.

void gSatTEME::setEpoch ( gTime  ai_time)

Set compute epoch for prediction.

Parameters
[in]ai_timegTime object storing the compute epoch time.
void gSatTEME::setEpoch ( double  ai_time)
inline

Set compute epoch for prediction.

Parameters
[in]ai_timedouble variable storing the compute epoch time in Julian Days.

Definition at line 75 of file gSatTEME.hpp.

void gSatTEME::setMinSinceKepEpoch ( double  ai_minSinceKepEpoch)

Set compute epoch for prediction in minutes since Keplerian data Epoch.

Parameters
[in]ai_minSinceKepEpochTime since Keplerian Epoch measured in minutes and fraction of minutes.

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