MySQL 8.4.2
Source Code Documentation
|
Line interpolate functor that calls boost::geometry::line_interpolate with the correct parameter types. More...
#include <line_interpolate_functor.h>
Public Member Functions | |
Line_interpolate_point (double distance, bool return_multiple_points) | |
Line_interpolate_point (double distance, bool return_multiple_points, double semi_major, double semi_minor) | |
std::unique_ptr< Geometry > | operator() (const Geometry &g) const override |
std::unique_ptr< Geometry > | eval (const Geometry &g) const |
std::unique_ptr< Geometry > | eval (const Geographic_linestring &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_linestring &g) const |
Public Member Functions inherited from gis::Unary_functor< std::unique_ptr< Geometry > > | |
virtual | ~Unary_functor ()=default |
Private Attributes | |
double | m_distance |
bool | m_return_multiple_points |
boost::geometry::strategy::line_interpolate::geographic | m_geographic_strategy |
Additional Inherited Members | |
Static Protected Member Functions inherited from gis::Unary_functor< std::unique_ptr< Geometry > > | |
static std::unique_ptr< Geometry > | apply (F &f, const Geometry &g) |
Line interpolate functor that calls boost::geometry::line_interpolate with the correct parameter types.
The functor throws exceptions and is therefore only intended used to implement line_interpolate or other geographic functions. It should not be used directly by other MySQL code.
|
inlineexplicit |
|
inline |
std::unique_ptr< Geometry > gis::Line_interpolate_point::eval | ( | const Cartesian_linestring & | g | ) | const |
std::unique_ptr< Geometry > gis::Line_interpolate_point::eval | ( | const Geographic_linestring & | g | ) | const |
|
private |
|
private |
|
private |