File indexing completed on 2024-04-21 03:48:27

0001 #ifndef _sgp4io_
0002 #define _sgp4io_
0003 /*     ----------------------------------------------------------------
0004 *
0005 *                                 sgp4io.h;
0006 *
0007 *    this file contains a function to read two line element sets. while 
0008 *    not formerly part of the sgp4 mathematical theory, it is 
0009 *    required for practical implementation.
0010 *
0011 *                            companion code for
0012 *               fundamentals of astrodynamics and applications
0013 *                                    2007
0014 *                              by david vallado
0015 *
0016 *       (w) 719-573-2600, email dvallado@agi.com
0017 *
0018 *    current :
0019 *               3 sep 07  david vallado
0020 *                           add operationmode for afspc (a) or improved (i)
0021 *    changes :
0022 *              20 apr 07  david vallado
0023 *                           misc updates for manual operation
0024 *              14 aug 06  david vallado
0025 *                           original baseline
0026 *       ----------------------------------------------------------------      */
0027 
0028 #include <cstdio>
0029 #include <cmath>
0030 
0031 #include "sgp4ext.h"    // for several misc routines
0032 #include "sgp4unit.h"   // for sgp4init and getgravconst
0033 
0034 // ------------------------- function declarations -------------------------
0035 
0036 void twoline2rv
0037      (
0038       char      longstr1[130], char longstr2[130],
0039       char      typerun,  char typeinput, char opsmode,
0040       gravconsttype       whichconst,
0041       double& startmfe, double& stopmfe, double& deltamin,
0042       elsetrec& satrec
0043      );
0044 
0045 #endif
0046