Loading...
Searching...
No Matches
satellite-sgp4ext.h File Reference
#include "satellite-sgp4unit.h"
#include <math.h>
#include <string.h>
Include dependency graph for satellite-sgp4ext.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double angle (double vec1[3], double vec2[3])
void cross (double vec1[3], double vec2[3], double outvec[3])
void days2mdhms (int year, double days, int &mon, int &day, int &hr, int &minute, double &sec)
double dot (double x[3], double y[3])
void invjday (double jd, int &year, int &mon, int &day, int &hr, int &minute, double &sec)
void jday (int year, int mon, int day, int hr, int minute, double sec, double &jd)
double mag (double x[3])
void newtonnu (double ecc, double nu, double &e0, double &m)
void rv2coe (double r[3], double v[3], double mu, double &p, double &a, double &ecc, double &incl, double &omega, double &argp, double &nu, double &m, double &arglat, double &truelon, double &lonper)
double sgn (double x)

Function Documentation

◆ angle()

double angle ( double vec1[3],
double vec2[3] )

Definition at line 154 of file satellite-sgp4ext.cc.

References dot(), mag(), and sgn().

Referenced by rv2coe().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cross()

void cross ( double vec1[3],
double vec2[3],
double outvec[3] )

Definition at line 93 of file satellite-sgp4ext.cc.

Referenced by rv2coe().

Here is the caller graph for this function:

◆ days2mdhms()

void days2mdhms ( int year,
double days,
int & mon,
int & day,
int & hr,
int & minute,
double & sec )

Definition at line 652 of file satellite-sgp4ext.cc.

Referenced by invjday(), and twoline2rv().

Here is the caller graph for this function:

◆ dot()

double dot ( double x[3],
double y[3] )

Definition at line 124 of file satellite-sgp4ext.cc.

Referenced by angle(), and rv2coe().

Here is the caller graph for this function:

◆ invjday()

void invjday ( double jd,
int & year,
int & mon,
int & day,
int & hr,
int & minute,
double & sec )

Definition at line 724 of file satellite-sgp4ext.cc.

References days2mdhms().

Here is the call graph for this function:

◆ jday()

void jday ( int year,
int mon,
int day,
int hr,
int minute,
double sec,
double & jd )

Definition at line 607 of file satellite-sgp4ext.cc.

Referenced by twoline2rv().

Here is the caller graph for this function:

◆ mag()

double mag ( double x[3])

Definition at line 65 of file satellite-sgp4ext.cc.

Referenced by angle(), and rv2coe().

Here is the caller graph for this function:

◆ newtonnu()

void newtonnu ( double ecc,
double nu,
double & e0,
double & m )

Definition at line 241 of file satellite-sgp4ext.cc.

References pi.

Referenced by rv2coe().

Here is the caller graph for this function:

◆ rv2coe()

void rv2coe ( double r[3],
double v[3],
double mu,
double & p,
double & a,
double & ecc,
double & incl,
double & omega,
double & argp,
double & nu,
double & m,
double & arglat,
double & truelon,
double & lonper )

Definition at line 353 of file satellite-sgp4ext.cc.

References angle(), cross(), dot(), mag(), newtonnu(), pi, and sgn().

Here is the call graph for this function:

◆ sgn()

double sgn ( double x)

Definition at line 30 of file satellite-sgp4ext.cc.

Referenced by angle(), and rv2coe().

Here is the caller graph for this function: