![]() |
siderust-cpp
Header-only C++ wrapper for siderust
|
Namespaces | |
| namespace | cartesian |
| namespace | centers |
| namespace | detail |
| namespace | ephemeris |
| namespace | frames |
| namespace | icrs_altitude |
| namespace | moon |
| namespace | spherical |
| namespace | star_altitude |
| namespace | sun |
Classes | |
| class | AllocationFailedError |
| struct | CrossingEvent |
| A threshold-crossing event (rising or setting). More... | |
| struct | CulminationEvent |
| A culmination (local altitude extremum) event. More... | |
| struct | Geodetic |
| Geodetic position (WGS84 ellipsoid). More... | |
| class | InvalidArgumentError |
| class | InvalidBodyError |
| class | InvalidCenterError |
| class | InvalidFrameError |
| class | InvalidPeriodError |
| class | NullPointerError |
| struct | Orbit |
| Keplerian orbital elements. More... | |
| struct | Planet |
| Planet data (value type, copyable). More... | |
| struct | ProperMotion |
| Proper motion for a star (equatorial). More... | |
| struct | SearchOptions |
| Options for altitude search algorithms. More... | |
| class | SiderustException |
| class | Star |
| RAII handle to a Star (opaque Rust object). More... | |
| class | TransformFailedError |
| class | UnknownStarError |
Typedefs | |
| using | UTC = tempoch::UTC |
| using | JulianDate = tempoch::JulianDate |
| using | MJD = tempoch::MJD |
| using | Period = tempoch::Period |
Enumerations | |
| enum class | Frame : int32_t { ICRS = SIDERUST_FRAME_T_ICRS , EclipticMeanJ2000 = SIDERUST_FRAME_T_ECLIPTIC_MEAN_J2000 , EquatorialMeanJ2000 = SIDERUST_FRAME_T_EQUATORIAL_MEAN_J2000 , EquatorialMeanOfDate = SIDERUST_FRAME_T_EQUATORIAL_MEAN_OF_DATE , EquatorialTrueOfDate = SIDERUST_FRAME_T_EQUATORIAL_TRUE_OF_DATE , Horizontal = SIDERUST_FRAME_T_HORIZONTAL , ECEF = SIDERUST_FRAME_T_ECEF , Galactic = SIDERUST_FRAME_T_GALACTIC , GCRS = SIDERUST_FRAME_T_GCRS , EclipticOfDate = SIDERUST_FRAME_T_ECLIPTIC_OF_DATE , EclipticTrueOfDate = SIDERUST_FRAME_T_ECLIPTIC_TRUE_OF_DATE , CIRS = SIDERUST_FRAME_T_CIRS , TIRS = SIDERUST_FRAME_T_TIRS , ITRF = SIDERUST_FRAME_T_ITRF , ICRF = SIDERUST_FRAME_T_ICRF } |
| enum class | Center : int32_t { Barycentric = SIDERUST_CENTER_T_BARYCENTRIC , Heliocentric = SIDERUST_CENTER_T_HELIOCENTRIC , Geocentric = SIDERUST_CENTER_T_GEOCENTRIC , Topocentric = SIDERUST_CENTER_T_TOPOCENTRIC , Bodycentric = SIDERUST_CENTER_T_BODYCENTRIC } |
| enum class | CrossingDirection : int32_t { Rising = SIDERUST_CROSSING_DIRECTION_T_RISING , Setting = SIDERUST_CROSSING_DIRECTION_T_SETTING } |
| enum class | CulminationKind : int32_t { Max = SIDERUST_CULMINATION_KIND_T_MAX , Min = SIDERUST_CULMINATION_KIND_T_MIN } |
| enum class | RaConvention : int32_t { MuAlpha = SIDERUST_RA_CONVENTION_T_MU_ALPHA , MuAlphaStar = SIDERUST_RA_CONVENTION_T_MU_ALPHA_STAR } |
Functions | |
| Planet | mercury () |
| Planet | venus () |
| Planet | earth () |
| Planet | mars () |
| Planet | jupiter () |
| Planet | saturn () |
| Planet | uranus () |
| Planet | neptune () |
| cartesian::position::ECEF< qtty::Meter > | geodetic_to_cartesian_ecef (const Geodetic &geo) |
| Convert a Geodetic (WGS84) to ECEF Cartesian position. | |
| void | check_status (siderust_status_t status, const char *operation) |
| void | check_tempoch_status (tempoch_status_t status, const char *operation) |
| Backward-compatible wrapper — delegates to tempoch::check_status. | |
| Geodetic | geodetic (double lon_deg, double lat_deg, double height_m=0.0) |
| Create a custom geodetic position (WGS84). | |
| Geodetic | roque_de_los_muchachos () |
| Geodetic | el_paranal () |
| Geodetic | mauna_kea () |
| Geodetic | la_silla () |
| using siderust::JulianDate = typedef tempoch::JulianDate |
| using siderust::MJD = typedef tempoch::MJD |
| using siderust::Period = typedef tempoch::Period |
| using siderust::UTC = typedef tempoch::UTC |
|
strong |
| Enumerator | |
|---|---|
| Barycentric | |
| Heliocentric | |
| Geocentric | |
| Topocentric | |
| Bodycentric | |
Definition at line 137 of file ffi_core.hpp.
|
strong |
| Enumerator | |
|---|---|
| Rising | |
| Setting | |
Definition at line 145 of file ffi_core.hpp.
|
strong |
| Enumerator | |
|---|---|
| Max | |
| Min | |
Definition at line 150 of file ffi_core.hpp.
|
strong |
| Enumerator | |
|---|---|
| ICRS | |
| EclipticMeanJ2000 | |
| EquatorialMeanJ2000 | |
| EquatorialMeanOfDate | |
| EquatorialTrueOfDate | |
| Horizontal | |
| ECEF | |
| Galactic | |
| GCRS | |
| EclipticOfDate | |
| EclipticTrueOfDate | |
| CIRS | |
| TIRS | |
| ITRF | |
| ICRF | |
Definition at line 119 of file ffi_core.hpp.
|
strong |
| Enumerator | |
|---|---|
| MuAlpha | |
| MuAlphaStar | |
Definition at line 155 of file ffi_core.hpp.
|
inline |
Definition at line 81 of file ffi_core.hpp.
Referenced by siderust::sun::altitude_at(), siderust::moon::altitude_at(), siderust::icrs_altitude::altitude_at(), siderust::star_altitude::altitude_at(), siderust::sun::altitude_periods(), siderust::moon::altitude_periods(), siderust::sun::altitude_periods(), siderust::moon::altitude_periods(), siderust::Star::catalog(), siderust::Star::create(), siderust::ephemeris::earth_barycentric(), siderust::ephemeris::earth_heliocentric(), geodetic(), siderust::detail::make_el_paranal(), siderust::detail::make_la_silla(), siderust::detail::make_mauna_kea(), siderust::detail::make_planet_earth(), siderust::detail::make_planet_jupiter(), siderust::detail::make_planet_mars(), siderust::detail::make_planet_mercury(), siderust::detail::make_planet_neptune(), siderust::detail::make_planet_saturn(), siderust::detail::make_planet_uranus(), siderust::detail::make_planet_venus(), siderust::detail::make_roque_de_los_muchachos(), siderust::ephemeris::moon_geocentric(), siderust::Star::name(), siderust::ephemeris::sun_barycentric(), siderust::Geodetic::to_cartesian(), siderust::spherical::Direction< F >::to_frame(), and siderust::spherical::Direction< F >::to_horizontal().
|
inline |
Backward-compatible wrapper — delegates to tempoch::check_status.
Definition at line 111 of file ffi_core.hpp.
|
inline |
Definition at line 142 of file bodies.hpp.
References EARTH.
Referenced by ephemeris_typed_example().
|
inline |
Definition at line 73 of file observatories.hpp.
References EL_PARANAL.
|
inline |
Create a custom geodetic position (WGS84).
Definition at line 44 of file observatories.hpp.
References check_status(), and siderust::Geodetic::from_c().
|
inline |
Definition at line 144 of file bodies.hpp.
References JUPITER.
|
inline |
Definition at line 75 of file observatories.hpp.
References LA_SILLA_OBSERVATORY.
|
inline |
Definition at line 143 of file bodies.hpp.
References MARS.
|
inline |
Definition at line 74 of file observatories.hpp.
References MAUNA_KEA.
|
inline |
Definition at line 140 of file bodies.hpp.
References MERCURY.
|
inline |
Definition at line 147 of file bodies.hpp.
References NEPTUNE.
|
inline |
Definition at line 72 of file observatories.hpp.
References ROQUE_DE_LOS_MUCHACHOS.
|
inline |
Definition at line 145 of file bodies.hpp.
References SATURN.
|
inline |
Definition at line 146 of file bodies.hpp.
References URANUS.
|
inline |
Definition at line 141 of file bodies.hpp.
References VENUS.
|
inline |
Definition at line 265 of file bodies.hpp.
|
inline |
Definition at line 266 of file bodies.hpp.
|
inline |
Definition at line 261 of file bodies.hpp.
|
inline |
Definition at line 263 of file bodies.hpp.
|
inline |
Definition at line 260 of file bodies.hpp.
|
inline |
Definition at line 132 of file bodies.hpp.
|
inline |
El Paranal Observatory (Chile).
Definition at line 59 of file observatories.hpp.
Referenced by el_paranal().
|
inline |
Definition at line 134 of file bodies.hpp.
|
inline |
La Silla Observatory (Chile).
Definition at line 69 of file observatories.hpp.
Referenced by la_silla().
|
inline |
Definition at line 133 of file bodies.hpp.
|
inline |
Mauna Kea Observatory (Hawaii, USA).
Definition at line 64 of file observatories.hpp.
Referenced by main(), and mauna_kea().
|
inline |
Definition at line 130 of file bodies.hpp.
|
inline |
Definition at line 137 of file bodies.hpp.
|
inline |
Definition at line 259 of file bodies.hpp.
|
inline |
Definition at line 264 of file bodies.hpp.
|
inline |
Definition at line 262 of file bodies.hpp.
|
inline |
Roque de los Muchachos Observatory (La Palma, Spain).
Definition at line 54 of file observatories.hpp.
Referenced by main(), roque_de_los_muchachos(), and spherical_direction_example().
|
inline |
Definition at line 135 of file bodies.hpp.
|
inline |
Definition at line 258 of file bodies.hpp.
|
inline |
Definition at line 136 of file bodies.hpp.
|
inline |
Definition at line 257 of file bodies.hpp.
Referenced by main().
|
inline |
Definition at line 131 of file bodies.hpp.