siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
Loading...
Searching...
No Matches
runtime_ephemeris.hpp File Reference

C++ wrapper for siderust's runtime-loaded JPL DE4xx ephemeris. More...

#include "coordinates.hpp"
#include "ffi_core.hpp"
#include "time.hpp"
#include <cstdint>
#include <memory>
#include <string>
Include dependency graph for runtime_ephemeris.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  siderust::CartesianVelocity
 Cartesian velocity in AU/day, tagged by reference frame. More...
 
class  siderust::RuntimeEphemeris
 Runtime-loaded JPL DE4xx ephemeris. More...
 

Namespaces

namespace  siderust
 

Detailed Description

C++ wrapper for siderust's runtime-loaded JPL DE4xx ephemeris.

Provides an RAII RuntimeEphemeris class that loads a BSP file at runtime and exposes the same position queries as the compile-time VSOP87 wrappers in ephemeris.hpp.

siderust::RuntimeEphemeris eph("/path/to/de440.bsp");
auto sun = eph.sun_barycentric(jd);
Runtime-loaded JPL DE4xx ephemeris.
C++ wrapper for siderust's runtime-loaded JPL DE4xx ephemeris.

Definition in file runtime_ephemeris.hpp.