Trajectories.Trajectory.RealMaxAtmosphereAltitude C# (CSharp) Method

RealMaxAtmosphereAltitude() public static method

public static RealMaxAtmosphereAltitude ( CelestialBody body ) : double
body CelestialBody
return double
        public static double RealMaxAtmosphereAltitude(CelestialBody body)
        {
            if (!body.atmosphere) return 0;
            // Change for 1.0 refer to atmosphereDepth
            return body.atmosphereDepth;
        }