![]() |
siderust-cpp
Header-only C++ wrapper for siderust
|

Go to the source code of this file.
Functions | |
| template<typename PosT > | |
| static double | norm3 (const PosT &p) |
| static void | print_planet (const char *name, const Planet &p) |
| int | main () |
| int main | ( | ) |
Definition at line 36 of file solar_system_bodies_example.cpp.
References siderust::EARTH, siderust::ephemeris::earth_barycentric(), siderust::ephemeris::earth_heliocentric(), siderust::JUPITER, siderust::MARS, siderust::MERCURY, siderust::ephemeris::moon_geocentric(), siderust::NEPTUNE, norm3(), print_planet(), siderust::SATURN, siderust::ephemeris::sun_barycentric(), siderust::URANUS, and siderust::VENUS.
|
static |
Definition at line 19 of file solar_system_bodies_example.cpp.
Referenced by main().
|
static |
Definition at line 26 of file solar_system_bodies_example.cpp.
References siderust::Orbit::eccentricity, siderust::Orbit::inclination_deg, siderust::Planet::mass_kg, siderust::Planet::orbit, siderust::Planet::radius_km, and siderust::Orbit::semi_major_axis_au.
Referenced by main().