33#ifndef PLANET_RELATIVE_STATE_UTILS_HPP
34#define PLANET_RELATIVE_STATE_UTILS_HPP
50 std::vector<std::vector<double>>
pcr2lla(
const std::vector<double> &pcr_x,
51 const std::vector<double> &pcr_y,
52 const std::vector<double> &pcr_z,
54 double flattening=(1.0/298.257223563));
64 double flattening,
double& lat_rad,
double& lon_rad,
double& alt);
#define CartesianVector3
Definition mathmacros.h:43
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22
std::vector< std::vector< double > > pcr2lla(const std::vector< double > &pcr_x, const std::vector< double > &pcr_y, const std::vector< double > &pcr_z, double a, double flattening)
Wrapper around pcrDeticToLLA for bulk conversion of x, y, z coordinates.
Definition planetrelutils.cpp:20
int heikkinenLla(const clockwerk::CartesianVector< 3 > &pos__pcr, double r_planet_equatorial, double flattening, double &lat_rad, double &lon_rad, double &alt)
Function to calculate detic LLA from PCR state using the Heikkinen algorithm.
Definition planetrelutils.cpp:46