33#ifndef SQL_GIS_DISTANCE_SPHERE_FUNCTOR_H_INCLUDED
34#define SQL_GIS_DISTANCE_SPHERE_FUNCTOR_H_INCLUDED
36#include <boost/geometry.hpp>
50 boost::geometry::strategy::distance::haversine<double>
m_strategy;
A Cartesian 2d multipoint.
Definition: geometries_cs.h:501
A Cartesian 2d point.
Definition: geometries_cs.h:47
Functor that calls Boost.Geometry with the correct parameter types.
Definition: distance_sphere_functor.h:49
Distance_sphere(double sphere_radius)
Definition: distance_sphere_functor.h:53
boost::geometry::strategy::distance::haversine< double > m_strategy
Definition: distance_sphere_functor.h:50
double eval(const Cartesian_point *g1, const Cartesian_point *g2) const
Definition: distance_sphere.cc:85
double operator()(const Geometry *g1, const Geometry *g2) const override
Definition: distance_sphere.cc:80
The base class of all functors that takes two geometry arguments.
Definition: functor.h:165
A geographic (ellipsoidal) 2d multipoint.
Definition: geometries_cs.h:552
A geographic (ellipsoidal) 2d point.
Definition: geometries_cs.h:58
Abstract superclass for all geometric objects.
Definition: geometries.h:100
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.