32#ifndef SQL_GIS_DISTANCE_SPHERE_FUNCTOR_H_INCLUDED
33#define SQL_GIS_DISTANCE_SPHERE_FUNCTOR_H_INCLUDED
35#include <boost/geometry.hpp>
49 boost::geometry::strategy::distance::haversine<double>
m_strategy;
A Cartesian 2d multipoint.
Definition: geometries_cs.h:500
A Cartesian 2d point.
Definition: geometries_cs.h:46
Functor that calls Boost.Geometry with the correct parameter types.
Definition: distance_sphere_functor.h:48
Distance_sphere(double sphere_radius)
Definition: distance_sphere_functor.h:52
boost::geometry::strategy::distance::haversine< double > m_strategy
Definition: distance_sphere_functor.h:49
double eval(const Cartesian_point *g1, const Cartesian_point *g2) const
Definition: distance_sphere.cc:84
double operator()(const Geometry *g1, const Geometry *g2) const override
Definition: distance_sphere.cc:79
The base class of all functors that takes two geometry arguments.
Definition: functor.h:164
A geographic (ellipsoidal) 2d multipoint.
Definition: geometries_cs.h:551
A geographic (ellipsoidal) 2d point.
Definition: geometries_cs.h:57
Abstract superclass for all geometric objects.
Definition: geometries.h:99
This file contains the superclasses for GIS functors.
This file declares the geometry class hierarchy used by the server as the internal representation of ...
This file declares the coordinate system specific subclasses of the geometry class hierarchy.