Class EquinoctialOE

Inheritance Relationships

Base Type

Class Documentation

class EquinoctialOE : public lupnt::State

Public Functions

inline EquinoctialOE(const Vec6 &x = Vec6::Zero())

Construct an EquinoctialOE (equinoctial orbital elements, singularity-free at e=0 and i=0) from a stacked 6-element element vector, in frame MOON_CI. Used by KeplerianDynamics<EquinoctialOE>::Propagate and element-set conversions in StateConverter.

Parameters:

x – [a, h, k, p, q, lon] in [m, -, -, -, -, rad].

inline EquinoctialOE(const Vec6 &x, const Frame frame)

Construct an EquinoctialOE from a stacked element vector and reference frame.

Parameters:
  • x – [a, h, k, p, q, lon] in [m, -, -, -, -, rad].

  • frame – Reference frame the elements are defined in.

inline Real &a()

Mutable reference to the semi-major axis.

Returns:

Semi-major axis [m].

inline Real &h()

Mutable reference to the h equinoctial element.

Returns:

h [-].

inline Real &k()

Mutable reference to the k equinoctial element.

Returns:

k [-].

inline Real &p()

Mutable reference to the p equinoctial element.

Returns:

p [-].

inline Real &q()

Mutable reference to the q equinoctial element.

Returns:

q [-].

inline Real &lon()

Mutable reference to the mean longitude.

Returns:

Mean longitude [rad].

inline Real a() const

Semi-major axis.

Returns:

Semi-major axis [m].

inline Real h() const

h equinoctial element.

Returns:

h [-].

inline Real k() const

k equinoctial element.

Returns:

k [-].

inline Real p() const

p equinoctial element.

Returns:

p [-].

inline Real q() const

q equinoctial element.

Returns:

q [-].

inline Real lon() const

Mean longitude.

Returns:

Mean longitude [rad].

Public Static Attributes

static StateType TYPE = "EquinoctialOE"