![]() |
siderust-cpp
Header-only C++ wrapper for siderust
|
Functions | |
| qtty::Radian | altitude_at (const Geodetic &obs, const MJD &mjd) |
| Compute the Sun's altitude (radians) at a given MJD instant. | |
| std::vector< Period > | above_threshold (const Geodetic &obs, const Period &window, qtty::Degree threshold, const SearchOptions &opts={}) |
| Find periods when the Sun is above a threshold altitude. | |
| std::vector< Period > | above_threshold (const Geodetic &obs, const MJD &start, const MJD &end, qtty::Degree threshold, const SearchOptions &opts={}) |
| Backward-compatible [start, end] overload. | |
| std::vector< Period > | below_threshold (const Geodetic &obs, const Period &window, qtty::Degree threshold, const SearchOptions &opts={}) |
| Find periods when the Sun is below a threshold altitude. | |
| std::vector< Period > | below_threshold (const Geodetic &obs, const MJD &start, const MJD &end, qtty::Degree threshold, const SearchOptions &opts={}) |
| Backward-compatible [start, end] overload. | |
| std::vector< CrossingEvent > | crossings (const Geodetic &obs, const Period &window, qtty::Degree threshold, const SearchOptions &opts={}) |
| Find threshold-crossing events for the Sun. | |
| std::vector< CrossingEvent > | crossings (const Geodetic &obs, const MJD &start, const MJD &end, qtty::Degree threshold, const SearchOptions &opts={}) |
| Backward-compatible [start, end] overload. | |
| std::vector< CulminationEvent > | culminations (const Geodetic &obs, const Period &window, const SearchOptions &opts={}) |
| Find culmination events for the Sun. | |
| std::vector< CulminationEvent > | culminations (const Geodetic &obs, const MJD &start, const MJD &end, const SearchOptions &opts={}) |
| Backward-compatible [start, end] overload. | |
| std::vector< Period > | altitude_periods (const Geodetic &obs, const Period &window, qtty::Degree min_alt, qtty::Degree max_alt) |
| Find periods when the Sun's altitude is within [min, max]. | |
| std::vector< Period > | altitude_periods (const Geodetic &obs, const MJD &start, const MJD &end, qtty::Degree min_alt, qtty::Degree max_alt) |
| Backward-compatible [start, end] overload. | |
|
inline |
Backward-compatible [start, end] overload.
Definition at line 151 of file altitude.hpp.
|
inline |
Find periods when the Sun is above a threshold altitude.
Definition at line 136 of file altitude.hpp.
Compute the Sun's altitude (radians) at a given MJD instant.
Definition at line 126 of file altitude.hpp.
References siderust::check_status(), and siderust::Geodetic::to_c().
|
inline |
Backward-compatible [start, end] overload.
Definition at line 247 of file altitude.hpp.
References siderust::check_status(), siderust::detail::periods_from_c(), and siderust::Geodetic::to_c().
|
inline |
Find periods when the Sun's altitude is within [min, max].
Definition at line 232 of file altitude.hpp.
References siderust::check_status(), siderust::detail::periods_from_c(), and siderust::Geodetic::to_c().
|
inline |
Backward-compatible [start, end] overload.
Definition at line 175 of file altitude.hpp.
|
inline |
Find periods when the Sun is below a threshold altitude.
Definition at line 160 of file altitude.hpp.
Referenced by main().
|
inline |
Backward-compatible [start, end] overload.
Definition at line 199 of file altitude.hpp.
|
inline |
Find threshold-crossing events for the Sun.
Definition at line 184 of file altitude.hpp.
Referenced by main().
|
inline |
Backward-compatible [start, end] overload.
Definition at line 223 of file altitude.hpp.
|
inline |
Find culmination events for the Sun.
Definition at line 208 of file altitude.hpp.
Referenced by main().