xapian-core  1.4.21
Macros
latlong_metrics.cc File Reference

Geospatial distance metrics. More...

#include <config.h>
#include "xapian/geospatial.h"
#include "xapian/error.h"
#include "serialise-double.h"
#include <cmath>
+ Include dependency graph for latlong_metrics.cc:

Go to the source code of this file.

Macros

#define QUAD_EARTH_RADIUS_METRES   6372797.6
 Quadratic mean radius of the Earth in metres. More...
 

Detailed Description

Geospatial distance metrics.

Definition in file latlong_metrics.cc.

Macro Definition Documentation

◆ QUAD_EARTH_RADIUS_METRES

#define QUAD_EARTH_RADIUS_METRES   6372797.6

Quadratic mean radius of the Earth in metres.

Definition at line 36 of file latlong_metrics.cc.