perturb 1.0.0
A modern C++11 wrapper for the SGP4 orbit propagator
Loading...
Searching...
No Matches
sgp4.hpp File Reference

Header for the internal SGP4 impl from Vallado. More...

Go to the source code of this file.

Classes

struct  perturb::sgp4::elsetrec
 

Namespaces

namespace  perturb
 Primary namespace for the perturb library, everything is in here.
 
namespace  perturb::sgp4
 An internal namespace containing the underlying SGP4 implementation.
 

Macros

#define PERTURB_SGP4_SGP4Version   "SGP4 Version 2020-07-13"
 

Typedefs

typedef struct perturb::sgp4::elsetrec perturb::sgp4::elsetrec
 

Enumerations

enum  gravconsttype { wgs72old , wgs72 , wgs84 }
 

Functions

bool perturb::sgp4::sgp4init (gravconsttype whichconst, char opsmode, const char satn[5], const double epoch, const double xbstar, const double xndot, const double xnddot, const double xecco, const double xargpo, const double xinclo, const double xmo, const double xno, const double xnodeo, elsetrec &satrec)
 
bool perturb::sgp4::sgp4 (elsetrec &satrec, double tsince, double r[3], double v[3])
 
void perturb::sgp4::getgravconst (gravconsttype whichconst, double &tumin, double &mus, double &radiusearthkm, double &xke, double &j2, double &j3, double &j4, double &j3oj2)
 
void perturb::sgp4::twoline2rv (char longstr1[130], char longstr2[130], char typerun, char typeinput, char opsmode, gravconsttype whichconst, double &startmfe, double &stopmfe, double &deltamin, elsetrec &satrec)
 
double perturb::sgp4::gstime_SGP4 (double jdut1)
 
double perturb::sgp4::sgn_SGP4 (double x)
 
double perturb::sgp4::mag_SGP4 (double x[3])
 
void perturb::sgp4::cross_SGP4 (double vec1[3], double vec2[3], double outvec[3])
 
double perturb::sgp4::dot_SGP4 (double x[3], double y[3])
 
double perturb::sgp4::angle_SGP4 (double vec1[3], double vec2[3])
 
void perturb::sgp4::newtonnu_SGP4 (double ecc, double nu, double &e0, double &m)
 
double perturb::sgp4::asinh_SGP4 (double xval)
 
void perturb::sgp4::rv2coe_SGP4 (double r[3], double v[3], double mus, double &p, double &a, double &ecc, double &incl, double &omega, double &argp, double &nu, double &m, double &arglat, double &truelon, double &lonper)
 
void perturb::sgp4::jday_SGP4 (int year, int mon, int day, int hr, int minute, double sec, double &jd, double &jdFrac)
 
void perturb::sgp4::days2mdhms_SGP4 (int year, double days, int &mon, int &day, int &hr, int &minute, double &sec)
 
void perturb::sgp4::invjday_SGP4 (double jd, double jdFrac, int &year, int &mon, int &day, int &hr, int &minute, double &sec)
 

Detailed Description

Header for the internal SGP4 impl from Vallado.

Author
David Vallado
Gunvir Ranu
Version
SGP4 Version 2020-07-13
Date
2022-07-13