MySQL 9.1.0
Source Code Documentation
distance_functor.cc File Reference

This file implements the distance functor. More...

#include "sql/gis/distance_functor.h"
#include <boost/geometry.hpp>
#include <limits>
#include "sql/gis/geometries.h"
#include "sql/gis/geometries_traits.h"

Namespaces

namespace  gis
 

Functions

template<typename GC >
static double gis::geometry_collection_apply_min (const Functor< double > *f, const Geometry *g1, const Geometry *g2)
 Apply a Functor<double> to two geometries, which both may be geometry collections, and return the minimum result of the functor applied on each combination of elements in the collections. More...
 

Detailed Description

This file implements the distance functor.