MySQL 8.4.2
Source Code Documentation
|
Simplify functor that calls Boost.Geometry with the correct parameter types. More...
#include <simplify_functor.h>
Public Member Functions | |
Simplify (double max_distance) | |
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 Cartesian_point &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_linestring &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_polygon &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_geometrycollection &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_multipoint &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_multilinestring &g) const |
std::unique_ptr< Geometry > | eval (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< Geometry > | apply (F &f, const Geometry &g) |
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.
|
inline |
std::unique_ptr< Geometry > gis::Simplify::eval | ( | const Cartesian_geometrycollection & | g | ) | const |
std::unique_ptr< Geometry > gis::Simplify::eval | ( | const Cartesian_linestring & | g | ) | const |
std::unique_ptr< Geometry > gis::Simplify::eval | ( | const Cartesian_multilinestring & | g | ) | const |
std::unique_ptr< Geometry > gis::Simplify::eval | ( | const Cartesian_multipoint & | g | ) | const |
std::unique_ptr< Geometry > gis::Simplify::eval | ( | const Cartesian_multipolygon & | g | ) | const |
std::unique_ptr< Geometry > gis::Simplify::eval | ( | const Cartesian_point & | g | ) | const |
std::unique_ptr< Geometry > gis::Simplify::eval | ( | const Cartesian_polygon & | g | ) | const |
|
private |