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

Umbrella header for the siderust C++ wrapper library. More...

#include "altitude.hpp"
#include "astro_context.hpp"
#include "azimuth.hpp"
#include "bodies.hpp"
#include "body_target.hpp"
#include "centers.hpp"
#include "coordinates.hpp"
#include "coordinates/bodycentric_transforms.hpp"
#include "ephemeris.hpp"
#include "ffi_core.hpp"
#include "frames.hpp"
#include "lambert.hpp"
#include "lunar_phase.hpp"
#include "observatories.hpp"
#include "oem.hpp"
#include "orbit.hpp"
#include "orbital_center.hpp"
#include "runtime_ephemeris.hpp"
#include "sgp4.hpp"
#include "sky_grid.hpp"
#include "star_target.hpp"
#include "subject.hpp"
#include "target.hpp"
#include "time.hpp"
#include "twilight.hpp"
Include dependency graph for siderust.hpp:

Go to the source code of this file.

Detailed Description

Umbrella header for the siderust C++ wrapper library.

Include this single header to get the full siderust C++ API.

using namespace siderust;
using namespace siderust::frames;
// Typed coordinates with compile-time frame/center
spherical::direction::ICRS vega_icrs(qtty::Degree(279.23473), qtty::Degree(38.78369));
auto jd = Time<TT, JD>::from_utc({2026, 7, 15, 22, 0, 0});
// Template-targeted transform — invalid pairs won't compile
auto ecl = vega_icrs.to_frame<EclipticMeanJ2000>(jd); //
Direction<EclipticMeanJ2000> auto hor = vega_icrs.to_horizontal(jd,
ROQUE_DE_LOS_MUCHACHOS);
// Typed ephemeris — unit-safe AU/km positions
auto earth = ephemeris::earth_heliocentric(jd); //
earth.comp_x.to<qtty::Kilometer>(); // unit conversion
tempoch::EncodedTime< Scale, Format > Time
Definition time.hpp:36
Umbrella header for the siderust C++ wrapper library.
A 3D Cartesian position, compile-time tagged by center, frame, unit.
Mean ecliptic & equinox of J2000.0.
Definition frames.hpp:48
A direction on the celestial sphere, compile-time tagged by frame.
Definition spherical.hpp:50

Definition in file siderust.hpp.