MySQL 8.0.40
Source Code Documentation
gis::Simplify Class Reference

Simplify functor that calls Boost.Geometry with the correct parameter types. More...

#include <simplify_functor.h>

Inheritance diagram for gis::Simplify:
[legend]

Public Member Functions

 Simplify (double max_distance)
 
std::unique_ptr< Geometryoperator() (const Geometry &g) const override
 
std::unique_ptr< Geometryeval (const Geometry &g) const
 
std::unique_ptr< Geometryeval (const Cartesian_point &g) const
 
std::unique_ptr< Geometryeval (const Cartesian_linestring &g) const
 
std::unique_ptr< Geometryeval (const Cartesian_polygon &g) const
 
std::unique_ptr< Geometryeval (const Cartesian_geometrycollection &g) const
 
std::unique_ptr< Geometryeval (const Cartesian_multipoint &g) const
 
std::unique_ptr< Geometryeval (const Cartesian_multilinestring &g) const
 
std::unique_ptr< Geometryeval (const Cartesian_multipolygon &g) const
 
- Public Member Functions inherited from gis::Unary_functor< std::unique_ptr< Geometry > >
virtual ~Unary_functor ()=default
 

Private Attributes

double m_max_distance
 

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

Simplify functor that calls Boost.Geometry with the correct parameter types.

The functor throws exceptions and is therefore only intended used to implement simplify or other geographic functions. It should not be used directly by other MySQL code.

Constructor & Destructor Documentation

◆ Simplify()

gis::Simplify::Simplify ( double  max_distance)
inline

Member Function Documentation

◆ eval() [1/8]

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

◆ eval() [2/8]

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

◆ eval() [3/8]

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

◆ eval() [4/8]

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

◆ eval() [5/8]

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

◆ eval() [6/8]

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

◆ eval() [7/8]

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

◆ eval() [8/8]

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

◆ operator()()

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

Member Data Documentation

◆ m_max_distance

double gis::Simplify::m_max_distance
private

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