MySQL 8.4.2
Source Code Documentation
|
Covered_by functor that calls Boost.Geometry with the correct parameter types. More...
#include <covered_by_functor.h>
Public Member Functions | |
Covered_by (double semi_major, double semi_minor) | |
Creates a new Covered_by functor. More... | |
double | semi_major () const |
double | semi_minor () const |
bool | operator() (const Geometry *g1, const Geometry *g2) const override |
bool | operator() (const Box *b1, const Box *b2) const |
bool | eval (const Geometry *g1, const Geometry *g2) const |
bool | eval (const Cartesian_box *b1, const Cartesian_box *b2) const |
bool | eval (const Geographic_box *b1, const Geographic_box *b2) const |
Public Member Functions inherited from gis::Functor< bool > | |
virtual | ~Functor ()=default |
Private Attributes | |
double | m_semi_major |
Semi-major axis of ellipsoid. More... | |
double | m_semi_minor |
Semi-minor axis of ellipsoid. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from gis::Functor< bool > | |
static bool | apply (F &f, const Geometry *g1, const Geometry *g2) |
Covered_by functor that calls Boost.Geometry with the correct parameter types.
The functor throws exceptions and is therefore only intended used to implement covered_by or other geographic functions. It should not be used directly by other MySQL code.
gis::Covered_by::Covered_by | ( | double | semi_major, |
double | semi_minor | ||
) |
Creates a new Covered_by functor.
semi_major | Semi-major axis of ellipsoid. |
semi_minor | Semi-minor axis of ellipsoid. |
bool gis::Covered_by::eval | ( | const Cartesian_box * | b1, |
const Cartesian_box * | b2 | ||
) | const |
bool gis::Covered_by::eval | ( | const Geographic_box * | b1, |
const Geographic_box * | b2 | ||
) | const |
Implements gis::Functor< bool >.
|
inline |
|
inline |
|
private |
Semi-major axis of ellipsoid.
|
private |
Semi-minor axis of ellipsoid.