MySQL 8.4.2
Source Code Documentation
|
The base class of all functors that take one geometry argument. More...
#include <functor.h>
Public Member Functions | |
virtual T | operator() (const Geometry &) const =0 |
virtual | ~Unary_functor ()=default |
Static Protected Member Functions | |
template<class F > | |
static T | apply (F &f, const Geometry &g) |
The base class of all functors that take one geometry argument.
Subclasses of this functor base class will implement operator() and call apply() to do type combination dispatching. The actual body of the functor is in the eval() member function, which must be implemented for each different parameter type combination.
The functor may throw exceptions.
T | The return type of the functor. |
|
virtualdefault |
|
inlinestaticprotected |
|
pure virtual |
Implemented in gis::Area, gis::Buffer, gis::Is_simple, gis::Is_valid, gis::Line_interpolate_point, gis::Simplify, gis::Transform, and gis::Length.