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

Go to the source code of this file.
Functions | |
| static const char * | crossing_direction_name (CrossingDirection d) |
| static const char * | culmination_kind_name (CulminationKind k) |
| static void | print_utc (const UTC &utc) |
| static void | print_periods (const char *title, const std::vector< Period > &periods, std::size_t max_items=4) |
| static void | print_crossings (const char *title, const std::vector< CrossingEvent > &events, std::size_t max_items=6) |
| static void | print_culminations (const char *title, const std::vector< CulminationEvent > &events, std::size_t max_items=6) |
| int | main () |
|
static |
Definition at line 20 of file altitude_events_example.cpp.
Referenced by print_crossings().
|
static |
Definition at line 24 of file altitude_events_example.cpp.
Referenced by print_culminations().
| int main | ( | ) |
Definition at line 85 of file altitude_events_example.cpp.
References siderust::moon::above_threshold(), siderust::icrs_altitude::above_threshold(), siderust::star_altitude::above_threshold(), siderust::sun::below_threshold(), siderust::icrs_altitude::below_threshold(), siderust::sun::crossings(), siderust::moon::crossings(), siderust::star_altitude::crossings(), siderust::sun::culminations(), siderust::moon::culminations(), siderust::star_altitude::culminations(), siderust::MAUNA_KEA, print_crossings(), print_culminations(), print_periods(), siderust::VEGA, siderust::SearchOptions::with_scan_step(), and siderust::SearchOptions::with_tolerance().
|
static |
Definition at line 52 of file altitude_events_example.cpp.
References crossing_direction_name(), and print_utc().
Referenced by main().
|
static |
Definition at line 68 of file altitude_events_example.cpp.
References culmination_kind_name(), and print_utc().
Referenced by main().
|
static |
Definition at line 33 of file altitude_events_example.cpp.
References print_utc().
Referenced by main().
|
static |
Definition at line 28 of file altitude_events_example.cpp.
Referenced by print_crossings(), print_culminations(), and print_periods().