Tudat/Astrodynamics/BasicAstrodynamics/astrodynamicsFunctions.cpp
//! Compute two-body radial distance.
Compute two-body radial distance.
Compute two - body radial distance .
double computeKeplerRadialDistance( const double semiMajorAxis,
                                    const double eccentricity,
                                    const double trueAnomaly )
{
    return ( semiMajorAxis * ( 1.0 - eccentricity * eccentricity ) ) / ( 1.0 + eccentricity * std::cos( trueAnomaly ) );
}
double computeKeplerRadialDistance ( const double semiMajorAxis , const double eccentricity , const double trueAnomaly ) { return ( semiMajorAxis * ( 1.0 - eccentricity * eccentricity ) ) / ( 1.0 + eccentricity * std :: cos ( trueAnomaly ) ) ; }
Compute two-body radial distance.
Compute two - body radial distance .