Class astrea::astro::TwoLineElements¶
ClassList > astrea > astro > TwoLineElements
Class representing the two-line element (TLE) format for orbital data.
#include <TwoLineElements.hpp>
Public Functions¶
| Type | Name |
|---|---|
| TwoLineElements () = default Default constructor. |
|
| TwoLineElements (const std::array< std::string, 3 > rawTle, const AstrodynamicsSystem & sys) Construct a new Two Line Elements object from modern TLEs. |
|
| TwoLineElements (const std::array< std::string, 2 > rawTle, const AstrodynamicsSystem & sys) Construct a new Two Line Elements object from classic TLEs. |
|
| TwoLineElements (const TwoLineElements & other) Copy constructor. |
|
| TwoLineElements (TwoLineElements && other) noexcept Move constructor. |
|
| std::string | get_1st_line () const Get the 1st line of the TLE. |
| std::string | get_2nd_line () const Get the 2nd line of the TLE. |
| Angle | get_argument_of_perigee () const Get the argument of perigee of the satellite. |
| BallisticCoefficient | get_ballistic_coefficient () const Get the ballistic coefficient of the satellite. |
| unsigned | get_catalogue_number () const Get the catalogue number of the satellite. |
| std::size_t | get_check_sum1 () const Get the 1st checksum of the satellite. |
| std::size_t | get_check_sum2 () const Get the 2nd checksum of the satellite. |
| std::string | get_classification () const Get the classification of the satellite. |
| Unitless | get_eccentricity () const Get the eccentricity of the satellite. |
| std::size_t | get_element_set_number () const Get the element set number of the satellite. |
| std::size_t | get_ephemeris_type () const Get the ephemeris type of the satellite. |
| Date | get_epoch () const Get the epoch of the satellite. |
| Angle | get_inclination () const Get the inclination of the satellite. |
| std::string | get_launch_number () const Get the launch number of the satellite. |
| std::string | get_launch_piece () const Get the launch piece of the satellite. |
| std::string | get_launch_year () const Get the launch year of the satellite. |
| MeanMotion | get_mean_motion () const Get the mean motion of the satellite. |
| MeanMotion1stDer | get_mean_motion_1st_derivative () const Get the 1st derivative of the mean motion. |
| MeanMotion2ndDer | get_mean_motion_2nd_derivative () const Get the 2nd derivative of the mean motion. |
| std::string | get_name () const Get the name of the satellite. |
| std::array< std::string, 2 > | get_raw_tle () const Get the raw TLE data. |
| unsigned | get_rev_number () const Get the revolution number of the satellite. |
| Angle | get_right_ascension () const Get the right ascension of the satellite. |
| Distance | get_semimajor () const Get the semimajor axis of the satellite. |
| Angle | get_true_anomaly () const Get the true anomaly of the satellite. |
| bool | operator!= (const TwoLineElements & other) const Inequality operator. |
| TwoLineElements & | operator= (TwoLineElements && other) noexcept Move assignment operator. |
| TwoLineElements & | operator= (const TwoLineElements & other) Copy assignment operator. |
| bool | operator== (const TwoLineElements & other) const Equality operator. |
| ~TwoLineElements () = default Default destructor. |
Public Functions Documentation¶
function TwoLineElements [1/5]¶
Default constructor.
function TwoLineElements [2/5]¶
Construct a new Two Line Elements object from modern TLEs.
astrea::astro::TwoLineElements::TwoLineElements (
const std::array< std::string, 3 > rawTle,
const AstrodynamicsSystem & sys
)
Parameters:
rawTleThe raw TLE data.sysThe astrodynamics system.
function TwoLineElements [3/5]¶
Construct a new Two Line Elements object from classic TLEs.
astrea::astro::TwoLineElements::TwoLineElements (
const std::array< std::string, 2 > rawTle,
const AstrodynamicsSystem & sys
)
Parameters:
rawTleThe raw TLE data.sysThe astrodynamics system.
function TwoLineElements [4/5]¶
Copy constructor.
Parameters:
otherThe other TwoLineElements object to copy from.
function TwoLineElements [5/5]¶
Move constructor.
Parameters:
otherThe other TwoLineElements object to move from.
function get_1st_line¶
Get the 1st line of the TLE.
Returns:
std::string The 1st line of the TLE.
function get_2nd_line¶
Get the 2nd line of the TLE.
Returns:
std::string The 2nd line of the TLE.
function get_argument_of_perigee¶
Get the argument of perigee of the satellite.
Returns:
Angle The argument of perigee of the satellite.
function get_ballistic_coefficient¶
Get the ballistic coefficient of the satellite.
Returns:
BallisticCoefficient The ballistic coefficient of the satellite.
function get_catalogue_number¶
Get the catalogue number of the satellite.
Returns:
unsigned The catalogue number of the satellite.
function get_check_sum1¶
Get the 1st checksum of the satellite.
Returns:
std::size_t The 1st checksum of the satellite.
function get_check_sum2¶
Get the 2nd checksum of the satellite.
Returns:
std::size_t The 2nd checksum of the satellite.
function get_classification¶
Get the classification of the satellite.
Returns:
std::string The classification of the satellite.
function get_eccentricity¶
Get the eccentricity of the satellite.
Returns:
Unitless The eccentricity of the satellite.
function get_element_set_number¶
Get the element set number of the satellite.
Returns:
std::size_t The element set number of the satellite.
function get_ephemeris_type¶
Get the ephemeris type of the satellite.
Returns:
std::size_t The ephemeris type of the satellite.
function get_epoch¶
Get the epoch of the satellite.
Returns:
Date The epoch of the satellite.
function get_inclination¶
Get the inclination of the satellite.
Returns:
Angle The inclination of the satellite.
function get_launch_number¶
Get the launch number of the satellite.
Returns:
std::string The launch number of the satellite.
function get_launch_piece¶
Get the launch piece of the satellite.
Returns:
std::string The launch piece of the satellite.
function get_launch_year¶
Get the launch year of the satellite.
Returns:
std::string The launch year of the satellite.
function get_mean_motion¶
Get the mean motion of the satellite.
Returns:
MeanMotion The mean motion of the satellite.
function get_mean_motion_1st_derivative¶
Get the 1st derivative of the mean motion.
Returns:
MeanMotion1stDer The 1st derivative of the mean motion.
function get_mean_motion_2nd_derivative¶
Get the 2nd derivative of the mean motion.
Returns:
MeanMotion2ndDer The 2nd derivative of the mean motion.
function get_name¶
Get the name of the satellite.
Returns:
std::string The name of the satellite.
function get_raw_tle¶
Get the raw TLE data.
Returns:
std::array<std::string, 2> The raw TLE data.
function get_rev_number¶
Get the revolution number of the satellite.
Returns:
unsigned The revolution number of the satellite.
function get_right_ascension¶
Get the right ascension of the satellite.
Returns:
Angle The right ascension of the satellite.
function get_semimajor¶
Get the semimajor axis of the satellite.
Returns:
Distance The semimajor axis of the satellite.
function get_true_anomaly¶
Get the true anomaly of the satellite.
Returns:
Angle The true anomaly of the satellite.
function operator!=¶
Inequality operator.
Parameters:
otherThe other TwoLineElements object to compare with.
Returns:
true if the objects are not equal, false otherwise.
function operator=¶
Move assignment operator.
Parameters:
otherThe other TwoLineElements object to move from.
Returns:
TwoLineElements& Reference to this object after assignment.
function operator=¶
Copy assignment operator.
Parameters:
otherThe other TwoLineElements object to copy from.
Returns:
TwoLineElements& Reference to this object after assignment.
function operator==¶
Equality operator.
Parameters:
otherThe other TwoLineElements object to compare with.
Returns:
true if the objects are equal, false otherwise.
function ~TwoLineElements¶
Default destructor.
The documentation for this class was generated from the following file astrea/astro/astro/state/orbital_data_formats/instances/TwoLineElements.hpp