![]() |
siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
|
Move-only RAII wrapper around an initialised SGP4 propagator. More...
#include <siderust/sgp4.hpp>
Public Member Functions | |
| Propagator (const tle::Tle &tle, GravityModel model=GravityModel::Wgs72) | |
| Propagator (Propagator &&other) noexcept | |
| Propagator & | operator= (Propagator &&other) noexcept |
| Propagator (const Propagator &)=delete | |
| Propagator & | operator= (const Propagator &)=delete |
| ~Propagator () | |
| double | epoch_jd_utc () const |
| Return the UTC Julian date of the TLE epoch. | |
| int | gravity_model () const |
| Return the gravity model used by this propagator (0/1/2). | |
| State | propagate_at (double jd_utc) const |
Move-only RAII wrapper around an initialised SGP4 propagator.
Construct from a Tle handle; the TLE is not consumed.
|
inlineexplicit |
Create an SGP4 propagator from a parsed TLE.
| tle | Parsed TLE handle. |
| model | Gravity model (default: WGS-72). |
| siderust::InvalidArgumentError | on initialisation failure. |
Definition at line 128 of file sgp4.hpp.
References siderust::check_status(), and siderust::sgp4::Wgs72.
Referenced by operator=(), operator=(), Propagator(), and Propagator().
|
inlinenoexcept |
Definition at line 133 of file sgp4.hpp.
References Propagator().
|
delete |
References Propagator().
|
inline |
Return the UTC Julian date of the TLE epoch.
Definition at line 148 of file sgp4.hpp.
References siderust::check_status().
|
inline |
Return the gravity model used by this propagator (0/1/2).
Definition at line 155 of file sgp4.hpp.
References siderust::check_status().
|
delete |
References Propagator().
|
inlinenoexcept |
Definition at line 134 of file sgp4.hpp.
References Propagator().
|
inline |
Propagate to a UTC Julian date and return the TEME state.
| siderust::InvalidArgumentError | on propagation failure. |
Definition at line 165 of file sgp4.hpp.
References siderust::check_status(), siderust::sgp4::State::pos_km, and siderust::sgp4::State::vel_kms.