35#ifndef SQL_GIS_LINE_INTERPOLATE_FUNCTOR_H_INCLUDED
36#define SQL_GIS_LINE_INTERPOLATE_FUNCTOR_H_INCLUDED
55 boost::geometry::strategy::line_interpolate::geographic<>
63 double semi_major,
double semi_minor)
67 boost::geometry::srs::spheroid<double>(semi_major, semi_minor)) {}
A Cartesian 2d linestring.
Definition: geometries_cs.h:71
A geographic (ellipsoidal) 2d linestring.
Definition: geometries_cs.h:125
Abstract superclass for all geometric objects.
Definition: geometries.h:100
Line interpolate functor that calls boost::geometry::line_interpolate with the correct parameter type...
Definition: line_interpolate_functor.h:51
Line_interpolate_point(double distance, bool return_multiple_points, double semi_major, double semi_minor)
Definition: line_interpolate_functor.h:62
std::unique_ptr< Geometry > eval(const Geometry &g) const
Definition: line_interpolate.cc:52
boost::geometry::strategy::line_interpolate::geographic m_geographic_strategy
Definition: line_interpolate_functor.h:56
std::unique_ptr< Geometry > operator()(const Geometry &g) const override
Definition: line_interpolate.cc:47
bool m_return_multiple_points
Definition: line_interpolate_functor.h:54
Line_interpolate_point(double distance, bool return_multiple_points)
Definition: line_interpolate_functor.h:59
double m_distance
Definition: line_interpolate_functor.h:53
The base class of all functors that take one geometry argument.
Definition: functor.h:615
This file contains the superclasses for GIS functors.
This file declares the geometry class hierarchy used by the server as the internal representation of ...
Tag dispatch for custom Role_properties.
Definition: sql_auth_cache.h:591
bool distance(const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, double *distance, bool *is_null) noexcept
Computes the distance between two geometries.
Definition: distance.cc:40