Tudat/Astrodynamics/BasicAstrodynamics/astrodynamicsFunctions.cpp
//! Compute periapsis altitude from Cartesian state for spherical central body.
Compute periapsis altitude from Cartesian state for spherical central body.
Compute periapsis altitude from Cartesian state for spherical central body .
double computePeriapsisAltitudeFromCartesianState( const Eigen::Vector6d& state,
                                                   const double centralBodyGravitationalParameter,
                                                   const double centralBodyRadius )
{
    return computePeriapsisAltitudeFromKeplerianState(
                orbital_element_conversions::convertCartesianToKeplerianElements(
                    state, centralBodyGravitationalParameter ), centralBodyRadius );
}
double computePeriapsisAltitudeFromCartesianState ( const Eigen :: Vector6d & state , const double centralBodyGravitationalParameter , const double centralBodyRadius ) { return computePeriapsisAltitudeFromKeplerianState ( orbital_element_conversions :: convertCartesianToKeplerianElements ( state , centralBodyGravitationalParameter ) , centralBodyRadius ) ; }
Compute periapsis altitude from Cartesian state for spherical central body.
Compute periapsis altitude from Cartesian state for spherical central body .