Template Struct BodyT

Struct Documentation

template<typename T = double>
struct BodyT

Public Members

NaifId id
std::string name
T GM
T R
int n
int m
Frame fixed_frame
Frame inertial_frame
bool use_gravity_field
GravityField<T> gravity_field

Public Static Functions

static BodyT Sun()
static BodyT Earth(int n = 0, int m = 0, std::string gravity_file = "EGM96.cof")
static BodyT Moon(int n = 0, int m = 0, std::string gravity_file = "grgm900c.cof")
static BodyT Venus(int n = 0, int m = 0, std::string gravity_file = "MGN75HSAAP.cof")
static BodyT Mars(int n = 0, int m = 0, std::string gravity_file = "GMM1.cof")