MySQL 8.0.39
Source Code Documentation
gis::Line_interpolate_point Class Reference

Line interpolate functor that calls boost::geometry::line_interpolate with the correct parameter types. More...

#include <line_interpolate_functor.h>

Inheritance diagram for gis::Line_interpolate_point:
[legend]

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< Geometryoperator() (const Geometry &g) const override
 
std::unique_ptr< Geometryeval (const Geometry &g) const
 
std::unique_ptr< Geometryeval (const Geographic_linestring &g) const
 
std::unique_ptr< Geometryeval (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< Geometryapply (F &f, const Geometry &g)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Line_interpolate_point() [1/2]

gis::Line_interpolate_point::Line_interpolate_point ( double  distance,
bool  return_multiple_points 
)
inlineexplicit

◆ Line_interpolate_point() [2/2]

gis::Line_interpolate_point::Line_interpolate_point ( double  distance,
bool  return_multiple_points,
double  semi_major,
double  semi_minor 
)
inline

Member Function Documentation

◆ eval() [1/3]

std::unique_ptr< Geometry > gis::Line_interpolate_point::eval ( const Cartesian_linestring g) const

◆ eval() [2/3]

std::unique_ptr< Geometry > gis::Line_interpolate_point::eval ( const Geographic_linestring g) const

◆ eval() [3/3]

std::unique_ptr< Geometry > gis::Line_interpolate_point::eval ( const Geometry g) const

◆ operator()()

std::unique_ptr< Geometry > gis::Line_interpolate_point::operator() ( const Geometry g) const
overridevirtual

Member Data Documentation

◆ m_distance

double gis::Line_interpolate_point::m_distance
private

◆ m_geographic_strategy

boost::geometry::strategy::line_interpolate::geographic gis::Line_interpolate_point::m_geographic_strategy
private

◆ m_return_multiple_points

bool gis::Line_interpolate_point::m_return_multiple_points
private

The documentation for this class was generated from the following files: