siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
Loading...
Searching...
No Matches
siderust::detail Namespace Reference

Classes

class  OwnedFfiContext
 
struct  SkyGridCellsGuard
 

Functions

std::vector< Period< TT, MJD > > periods_from_c (tempoch_period_mjd_t *ptr, uintptr_t count)
 
std::vector< CrossingEventcrossings_from_c (siderust_crossing_event_t *ptr, uintptr_t count)
 
std::vector< CulminationEventculminations_from_c (siderust_culmination_event_t *ptr, uintptr_t count)
 
std::vector< AzimuthCrossingEventaz_crossings_from_c (siderust_azimuth_crossing_event_t *ptr, uintptr_t count)
 
std::vector< AzimuthExtremumaz_extrema_from_c (siderust_azimuth_extremum_t *ptr, uintptr_t count)
 
Planet make_planet_mercury ()
 
Planet make_planet_venus ()
 
Planet make_planet_earth ()
 
Planet make_planet_mars ()
 
Planet make_planet_jupiter ()
 
Planet make_planet_saturn ()
 
Planet make_planet_uranus ()
 
Planet make_planet_neptune ()
 
siderust_subject_t make_body_subject (SiderustBody b)
 Build a siderust_subject_t for a solar-system body.
 
siderust_subject_t make_star_subject (const SiderustStar *h)
 Build a siderust_subject_t for a star, borrowing the handle.
 
siderust_subject_t make_icrs_subject (const siderust_spherical_dir_t &dir)
 Build a siderust_subject_t for a fixed ICRS direction.
 
siderust_subject_t make_generic_target_subject (const SiderustGenericTarget *h)
 Build a siderust_subject_t for a generic target opaque handle.
 
std::vector< PhaseEventphase_events_from_c (siderust_phase_event_t *ptr, uintptr_t count)
 
std::vector< Period< TT, MJD > > illum_periods_from_c (tempoch_period_mjd_t *ptr, uintptr_t count)
 
Geodetic make_roque_de_los_muchachos ()
 
Geodetic make_el_paranal ()
 
Geodetic make_mauna_kea ()
 
Geodetic make_la_silla ()
 
template<typename C >
constexpr SiderustOrbitRefCenter orbit_ref_center_id ()
 

Function Documentation

◆ az_crossings_from_c()

std::vector< AzimuthCrossingEvent > siderust::detail::az_crossings_from_c ( siderust_azimuth_crossing_event_t *  ptr,
uintptr_t  count 
)
inline

Definition at line 74 of file azimuth.hpp.

References siderust::AzimuthCrossingEvent::from_c().

◆ az_extrema_from_c()

std::vector< AzimuthExtremum > siderust::detail::az_extrema_from_c ( siderust_azimuth_extremum_t *  ptr,
uintptr_t  count 
)
inline

Definition at line 85 of file azimuth.hpp.

References siderust::AzimuthExtremum::from_c().

◆ crossings_from_c()

std::vector< CrossingEvent > siderust::detail::crossings_from_c ( siderust_crossing_event_t *  ptr,
uintptr_t  count 
)
inline

Definition at line 87 of file altitude.hpp.

References siderust::CrossingEvent::from_c().

◆ culminations_from_c()

std::vector< CulminationEvent > siderust::detail::culminations_from_c ( siderust_culmination_event_t *  ptr,
uintptr_t  count 
)
inline

Definition at line 98 of file altitude.hpp.

References siderust::CulminationEvent::from_c().

◆ illum_periods_from_c()

std::vector< Period< TT, MJD > > siderust::detail::illum_periods_from_c ( tempoch_period_mjd_t *  ptr,
uintptr_t  count 
)
inline

Like periods_from_c but for tempoch_period_mjd_t* pointers (freed with siderust_periods_free).

Definition at line 99 of file lunar_phase.hpp.

◆ make_body_subject()

siderust_subject_t siderust::detail::make_body_subject ( SiderustBody  b)
inline

◆ make_el_paranal()

Geodetic siderust::detail::make_el_paranal ( )
inline

Definition at line 21 of file observatories.hpp.

References siderust::check_status(), and siderust::Geodetic::from_c().

Referenced by siderust::EL_PARANAL().

◆ make_generic_target_subject()

siderust_subject_t siderust::detail::make_generic_target_subject ( const SiderustGenericTarget *  h)
inline

◆ make_icrs_subject()

siderust_subject_t siderust::detail::make_icrs_subject ( const siderust_spherical_dir_t &  dir)
inline

Build a siderust_subject_t for a fixed ICRS direction.

Definition at line 274 of file ffi_core.hpp.

Referenced by siderust::icrs_altitude::altitude_at(), and siderust::icrs_altitude::azimuth_at().

◆ make_la_silla()

Geodetic siderust::detail::make_la_silla ( )
inline

◆ make_mauna_kea()

Geodetic siderust::detail::make_mauna_kea ( )
inline

Definition at line 27 of file observatories.hpp.

References siderust::check_status(), and siderust::Geodetic::from_c().

Referenced by siderust::MAUNA_KEA().

◆ make_planet_earth()

Planet siderust::detail::make_planet_earth ( )
inline

Definition at line 86 of file bodies.hpp.

References siderust::check_status(), and siderust::Planet::from_c().

Referenced by siderust::EARTH().

◆ make_planet_jupiter()

Planet siderust::detail::make_planet_jupiter ( )
inline

Definition at line 98 of file bodies.hpp.

References siderust::check_status(), and siderust::Planet::from_c().

Referenced by siderust::JUPITER().

◆ make_planet_mars()

Planet siderust::detail::make_planet_mars ( )
inline

Definition at line 92 of file bodies.hpp.

References siderust::check_status(), and siderust::Planet::from_c().

Referenced by siderust::MARS().

◆ make_planet_mercury()

Planet siderust::detail::make_planet_mercury ( )
inline

Definition at line 74 of file bodies.hpp.

References siderust::check_status(), and siderust::Planet::from_c().

Referenced by siderust::MERCURY().

◆ make_planet_neptune()

Planet siderust::detail::make_planet_neptune ( )
inline

Definition at line 116 of file bodies.hpp.

References siderust::check_status(), and siderust::Planet::from_c().

Referenced by siderust::NEPTUNE().

◆ make_planet_saturn()

Planet siderust::detail::make_planet_saturn ( )
inline

Definition at line 104 of file bodies.hpp.

References siderust::check_status(), and siderust::Planet::from_c().

Referenced by siderust::SATURN().

◆ make_planet_uranus()

Planet siderust::detail::make_planet_uranus ( )
inline

Definition at line 110 of file bodies.hpp.

References siderust::check_status(), and siderust::Planet::from_c().

Referenced by siderust::URANUS().

◆ make_planet_venus()

Planet siderust::detail::make_planet_venus ( )
inline

Definition at line 80 of file bodies.hpp.

References siderust::check_status(), and siderust::Planet::from_c().

Referenced by siderust::VENUS().

◆ make_roque_de_los_muchachos()

Geodetic siderust::detail::make_roque_de_los_muchachos ( )
inline

◆ make_star_subject()

siderust_subject_t siderust::detail::make_star_subject ( const SiderustStar *  h)
inline

Build a siderust_subject_t for a star, borrowing the handle.

Definition at line 266 of file ffi_core.hpp.

Referenced by siderust::star_altitude::altitude_at(), and siderust::star_altitude::azimuth_at().

◆ orbit_ref_center_id()

template<typename C >
constexpr SiderustOrbitRefCenter siderust::detail::orbit_ref_center_id ( )
constexpr

Definition at line 20 of file orbit.hpp.

◆ periods_from_c()

std::vector< Period< TT, MJD > > siderust::detail::periods_from_c ( tempoch_period_mjd_t *  ptr,
uintptr_t  count 
)
inline

Definition at line 77 of file altitude.hpp.

◆ phase_events_from_c()

std::vector< PhaseEvent > siderust::detail::phase_events_from_c ( siderust_phase_event_t *  ptr,
uintptr_t  count 
)
inline

Definition at line 87 of file lunar_phase.hpp.

References siderust::PhaseEvent::from_c().