Class LatLonAlt

Inheritance Relationships

Base Type

Class Documentation

class LatLonAlt : public lupnt::State

Public Functions

inline LatLonAlt(const State &x)

Reinterpret a generic State as a LatLonAlt (geodetic latitude/longitude/altitude state), checking its size and type tag. Used by CartToLatLonAlt/LatLonAltToCart when converting body-fixed Cartesian positions to/from geodetic coordinates (e.g. for ground stations and surface assets).

Parameters:

x – 3-element state of type LatLonAlt::TYPE.

inline LatLonAlt(const Vec3 &x = Vec3::Zero(), const Frame frame = Frame::MOON_CI)

Construct a LatLonAlt from a stacked [lat, lon, alt] vector.

Parameters:
  • x – [lat, lon, alt] in [rad, rad, m].

  • frame – Reference frame (default MOON_CI).

Public Static Attributes

static StateType TYPE = "LatLonAlt"