siderust-cpp
Header-only C++ wrapper for siderust
Loading...
Searching...
No Matches
siderust::Orbit Struct Reference

Keplerian orbital elements. More...

#include <siderust/bodies.hpp>

Static Public Member Functions

static Orbit from_c (const siderust_orbit_t &c)
 

Public Attributes

double semi_major_axis_au
 
double eccentricity
 
double inclination_deg
 
double lon_ascending_node_deg
 
double arg_perihelion_deg
 
double mean_anomaly_deg
 
double epoch_jd
 

Detailed Description

Keplerian orbital elements.

Definition at line 45 of file bodies.hpp.

Member Function Documentation

◆ from_c()

static Orbit siderust::Orbit::from_c ( const siderust_orbit_t &  c)
inlinestatic

Definition at line 54 of file bodies.hpp.

References semi_major_axis_au.

Referenced by siderust::Planet::from_c().

Member Data Documentation

◆ arg_perihelion_deg

double siderust::Orbit::arg_perihelion_deg

Definition at line 50 of file bodies.hpp.

◆ eccentricity

double siderust::Orbit::eccentricity
Examples
solar_system_bodies_example.cpp.

Definition at line 47 of file bodies.hpp.

Referenced by print_planet().

◆ epoch_jd

double siderust::Orbit::epoch_jd

Definition at line 52 of file bodies.hpp.

◆ inclination_deg

double siderust::Orbit::inclination_deg
Examples
solar_system_bodies_example.cpp.

Definition at line 48 of file bodies.hpp.

Referenced by print_planet().

◆ lon_ascending_node_deg

double siderust::Orbit::lon_ascending_node_deg

Definition at line 49 of file bodies.hpp.

◆ mean_anomaly_deg

double siderust::Orbit::mean_anomaly_deg

Definition at line 51 of file bodies.hpp.

◆ semi_major_axis_au

double siderust::Orbit::semi_major_axis_au
Examples
solar_system_bodies_example.cpp.

Definition at line 46 of file bodies.hpp.

Referenced by from_c(), and print_planet().


The documentation for this struct was generated from the following file: