earthRadius top-level constant

double const earthRadius

Earth radius in meter

Implementation

const double earthRadius = equatorRadius;