satellite-sgp4io.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------
2  *
3  * sgp4io.h;
4  *
5  * this file contains a function to read two line element sets. while
6  * not formerly part of the sgp4 mathematical theory, it is
7  * required for practical implemenation.
8  *
9  * companion code for
10  * fundamentals of astrodynamics and applications
11  * 2007
12  * by david vallado
13  *
14  * (w) 719-573-2600, email dvallado@agi.com
15  *
16  * current :
17  * 3 sep 07 david vallado
18  * add operationmode for afspc (a) or improved (i)
19  * changes :
20  * 20 apr 07 david vallado
21  * misc updates for manual operation
22  * 14 aug 06 david vallado
23  * original baseline
24  *
25  * code from https://gitlab.inesctec.pt/pmms/ns3-satellite
26  * ---------------------------------------------------------------- */
27 
28 #ifndef SAT_SGP4IO_H
29 #define SAT_SGP4IO_H
30 
31 #include "satellite-sgp4ext.h" // for several misc routines
32 #include "satellite-sgp4unit.h" // for sgp4init and getgravconst
33 
34 #include <math.h>
35 #include <stdio.h>
36 
37 // ------------------------- function declarations -------------------------
38 
39 void twoline2rv(char longstr1[130],
40  char longstr2[130],
41  char typerun,
42  char typeinput,
43  char opsmode,
44  gravconsttype whichconst,
45  double& startmfe,
46  double& stopmfe,
47  double& deltamin,
48  elsetrec& satrec);
49 
50 #endif // SAT_SGP4IO_H
void twoline2rv(char longstr1[130], char longstr2[130], char typerun, char typeinput, char opsmode, gravconsttype whichconst, double &startmfe, double &stopmfe, double &deltamin, elsetrec &satrec)
gravconsttype