Skip to content

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.

astrea::astro::TwoLineElements::TwoLineElements () = default


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:

  • rawTle The raw TLE data.
  • sys The 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:

  • rawTle The raw TLE data.
  • sys The astrodynamics system.

function TwoLineElements [4/5]

Copy constructor.

astrea::astro::TwoLineElements::TwoLineElements (
    const TwoLineElements & other
) 

Parameters:


function TwoLineElements [5/5]

Move constructor.

astrea::astro::TwoLineElements::TwoLineElements (
    TwoLineElements && other
) noexcept

Parameters:


function get_1st_line

Get the 1st line of the TLE.

inline std::string astrea::astro::TwoLineElements::get_1st_line () const

Returns:

std::string The 1st line of the TLE.


function get_2nd_line

Get the 2nd line of the TLE.

inline std::string astrea::astro::TwoLineElements::get_2nd_line () const

Returns:

std::string The 2nd line of the TLE.


function get_argument_of_perigee

Get the argument of perigee of the satellite.

inline Angle astrea::astro::TwoLineElements::get_argument_of_perigee () const

Returns:

Angle The argument of perigee of the satellite.


function get_ballistic_coefficient

Get the ballistic coefficient of the satellite.

inline BallisticCoefficient astrea::astro::TwoLineElements::get_ballistic_coefficient () const

Returns:

BallisticCoefficient The ballistic coefficient of the satellite.


function get_catalogue_number

Get the catalogue number of the satellite.

inline unsigned astrea::astro::TwoLineElements::get_catalogue_number () const

Returns:

unsigned The catalogue number of the satellite.


function get_check_sum1

Get the 1st checksum of the satellite.

inline std::size_t astrea::astro::TwoLineElements::get_check_sum1 () const

Returns:

std::size_t The 1st checksum of the satellite.


function get_check_sum2

Get the 2nd checksum of the satellite.

inline std::size_t astrea::astro::TwoLineElements::get_check_sum2 () const

Returns:

std::size_t The 2nd checksum of the satellite.


function get_classification

Get the classification of the satellite.

inline std::string astrea::astro::TwoLineElements::get_classification () const

Returns:

std::string The classification of the satellite.


function get_eccentricity

Get the eccentricity of the satellite.

inline Unitless astrea::astro::TwoLineElements::get_eccentricity () const

Returns:

Unitless The eccentricity of the satellite.


function get_element_set_number

Get the element set number of the satellite.

inline std::size_t astrea::astro::TwoLineElements::get_element_set_number () const

Returns:

std::size_t The element set number of the satellite.


function get_ephemeris_type

Get the ephemeris type of the satellite.

inline std::size_t astrea::astro::TwoLineElements::get_ephemeris_type () const

Returns:

std::size_t The ephemeris type of the satellite.


function get_epoch

Get the epoch of the satellite.

inline Date astrea::astro::TwoLineElements::get_epoch () const

Returns:

Date The epoch of the satellite.


function get_inclination

Get the inclination of the satellite.

inline Angle astrea::astro::TwoLineElements::get_inclination () const

Returns:

Angle The inclination of the satellite.


function get_launch_number

Get the launch number of the satellite.

inline std::string astrea::astro::TwoLineElements::get_launch_number () const

Returns:

std::string The launch number of the satellite.


function get_launch_piece

Get the launch piece of the satellite.

inline std::string astrea::astro::TwoLineElements::get_launch_piece () const

Returns:

std::string The launch piece of the satellite.


function get_launch_year

Get the launch year of the satellite.

inline std::string astrea::astro::TwoLineElements::get_launch_year () const

Returns:

std::string The launch year of the satellite.


function get_mean_motion

Get the mean motion of the satellite.

inline MeanMotion astrea::astro::TwoLineElements::get_mean_motion () const

Returns:

MeanMotion The mean motion of the satellite.


function get_mean_motion_1st_derivative

Get the 1st derivative of the mean motion.

inline MeanMotion1stDer astrea::astro::TwoLineElements::get_mean_motion_1st_derivative () const

Returns:

MeanMotion1stDer The 1st derivative of the mean motion.


function get_mean_motion_2nd_derivative

Get the 2nd derivative of the mean motion.

inline MeanMotion2ndDer astrea::astro::TwoLineElements::get_mean_motion_2nd_derivative () const

Returns:

MeanMotion2ndDer The 2nd derivative of the mean motion.


function get_name

Get the name of the satellite.

inline std::string astrea::astro::TwoLineElements::get_name () const

Returns:

std::string The name of the satellite.


function get_raw_tle

Get the raw TLE data.

inline std::array< std::string, 2 > astrea::astro::TwoLineElements::get_raw_tle () const

Returns:

std::array<std::string, 2> The raw TLE data.


function get_rev_number

Get the revolution number of the satellite.

inline unsigned astrea::astro::TwoLineElements::get_rev_number () const

Returns:

unsigned The revolution number of the satellite.


function get_right_ascension

Get the right ascension of the satellite.

inline Angle astrea::astro::TwoLineElements::get_right_ascension () const

Returns:

Angle The right ascension of the satellite.


function get_semimajor

Get the semimajor axis of the satellite.

inline Distance astrea::astro::TwoLineElements::get_semimajor () const

Returns:

Distance The semimajor axis of the satellite.


function get_true_anomaly

Get the true anomaly of the satellite.

inline Angle astrea::astro::TwoLineElements::get_true_anomaly () const

Returns:

Angle The true anomaly of the satellite.


function operator!=

Inequality operator.

bool astrea::astro::TwoLineElements::operator!= (
    const TwoLineElements & other
) const

Parameters:

Returns:

true if the objects are not equal, false otherwise.


function operator=

Move assignment operator.

TwoLineElements & astrea::astro::TwoLineElements::operator= (
    TwoLineElements && other
) noexcept

Parameters:

Returns:

TwoLineElements& Reference to this object after assignment.


function operator=

Copy assignment operator.

TwoLineElements & astrea::astro::TwoLineElements::operator= (
    const TwoLineElements & other
) 

Parameters:

Returns:

TwoLineElements& Reference to this object after assignment.


function operator==

Equality operator.

bool astrea::astro::TwoLineElements::operator== (
    const TwoLineElements & other
) const

Parameters:

Returns:

true if the objects are equal, false otherwise.


function ~TwoLineElements

Default destructor.

astrea::astro::TwoLineElements::~TwoLineElements () = default



The documentation for this class was generated from the following file astrea/astro/astro/state/orbital_data_formats/instances/TwoLineElements.hpp