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

#include <siderust/orbit.hpp>

Collaboration diagram for siderust::ConicOrbit:

Public Member Functions

siderust_conic_orbit_t to_c () const
constexpr ConicKind kind () const
cartesian::Position< centers::Heliocentric, frames::EclipticMeanJ2000, qtty::AstronomicalUnit > position_at (const Time< TT, JD > &jd) const

Static Public Member Functions

static ConicOrbit from_c (const siderust_conic_orbit_t &c)

Public Attributes

qtty::AstronomicalUnit periapsis_distance
Eccentricity eccentricity
qtty::Degree inclination
qtty::Degree lon_ascending_node
qtty::Degree arg_periapsis
qtty::Degree mean_anomaly
Time< TT, JD > epoch

Detailed Description

Examples
15_orbit_models.cpp.

Definition at line 134 of file orbit.hpp.

Member Function Documentation

◆ from_c()

ConicOrbit siderust::ConicOrbit::from_c ( const siderust_conic_orbit_t & c)
inlinestatic

Definition at line 143 of file orbit.hpp.

◆ kind()

ConicKind siderust::ConicOrbit::kind ( ) const
inlineconstexpr
Examples
15_orbit_models.cpp.

Definition at line 163 of file orbit.hpp.

References eccentricity, siderust::Elliptic, and siderust::Hyperbolic.

◆ position_at()

cartesian::Position< centers::Heliocentric, frames::EclipticMeanJ2000, qtty::AstronomicalUnit > siderust::ConicOrbit::position_at ( const Time< TT, JD > & jd) const
inline
Examples
15_orbit_models.cpp.

Definition at line 168 of file orbit.hpp.

References siderust::check_status(), and to_c().

◆ to_c()

siderust_conic_orbit_t siderust::ConicOrbit::to_c ( ) const
inline

Definition at line 153 of file orbit.hpp.

References arg_periapsis, eccentricity, epoch, inclination, lon_ascending_node, mean_anomaly, and periapsis_distance.

Referenced by position_at().

Member Data Documentation

◆ arg_periapsis

qtty::Degree siderust::ConicOrbit::arg_periapsis

Definition at line 139 of file orbit.hpp.

Referenced by to_c().

◆ eccentricity

Eccentricity siderust::ConicOrbit::eccentricity

Definition at line 136 of file orbit.hpp.

Referenced by kind(), and to_c().

◆ epoch

Time<TT, JD> siderust::ConicOrbit::epoch

Definition at line 141 of file orbit.hpp.

Referenced by to_c().

◆ inclination

qtty::Degree siderust::ConicOrbit::inclination

Definition at line 137 of file orbit.hpp.

Referenced by to_c().

◆ lon_ascending_node

qtty::Degree siderust::ConicOrbit::lon_ascending_node

Definition at line 138 of file orbit.hpp.

Referenced by to_c().

◆ mean_anomaly

qtty::Degree siderust::ConicOrbit::mean_anomaly

Definition at line 140 of file orbit.hpp.

Referenced by to_c().

◆ periapsis_distance

qtty::AstronomicalUnit siderust::ConicOrbit::periapsis_distance

Definition at line 135 of file orbit.hpp.

Referenced by to_c().


The documentation for this struct was generated from the following file: