1#ifndef GIS__FRECHET_DISTANCE_FUNCTOR_H_INCLUDED
2#define GIS__FRECHET_DISTANCE_FUNCTOR_H_INCLUDED
38#include <boost/geometry.hpp>
53 boost::geometry::strategy::andoyer,
54 boost::geometry::srs::spheroid<double>>>
A Cartesian 2d linestring.
Definition: geometries_cs.h:71
Frechet_distance functor that calls Boost.Geometry with the correct parameter types.
Definition: frechet_distance_functor.h:50
std::unique_ptr< boost::geometry::strategy::distance::geographic< boost::geometry::strategy::andoyer, boost::geometry::srs::spheroid< double > > > m_geographic_strategy
Definition: frechet_distance_functor.h:55
double eval(const Geometry *g1, const Geometry *g2) const
Definition: frechet_distance.cc:58
Frechet_distance(double major, double minor)
Definition: frechet_distance.cc:47
double operator()(const Geometry *g1, const Geometry *g2) const override
Definition: frechet_distance.cc:53
The base class of all functors that takes two geometry arguments.
Definition: functor.h:165
A geographic (ellipsoidal) 2d linestring.
Definition: geometries_cs.h:125
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 ...
std::conditional_t< !std::is_array< T >::value, std::unique_ptr< T, detail::Deleter< T > >, std::conditional_t< detail::is_unbounded_array_v< T >, std::unique_ptr< T, detail::Array_deleter< std::remove_extent_t< T > > >, void > > unique_ptr
The following is a common type that is returned by all the ut::make_unique (non-aligned) specializati...
Definition: ut0new.h:2439