earthRadius top-level constant

double const earthRadius

Earth radius in km.

Implementation

const double earthRadius = 6371000.0;