MySQL  8.0.22
Source Code Documentation
gis::Covered_by Class Reference

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

#include <covered_by_functor.h>

Inheritance diagram for gis::Covered_by:
gis::Functor< bool >

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 ()
 

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Covered_by()

gis::Covered_by::Covered_by ( double  semi_major,
double  semi_minor 
)

Creates a new Covered_by functor.

Parameters
semi_majorSemi-major axis of ellipsoid.
semi_minorSemi-minor axis of ellipsoid.

Member Function Documentation

◆ eval() [1/3]

bool gis::Covered_by::eval ( const Geometry g1,
const Geometry g2 
) const

◆ eval() [2/3]

bool gis::Covered_by::eval ( const Cartesian_box b1,
const Cartesian_box b2 
) const

◆ eval() [3/3]

bool gis::Covered_by::eval ( const Geographic_box b1,
const Geographic_box b2 
) const

◆ operator()() [1/2]

bool gis::Covered_by::operator() ( const Geometry g1,
const Geometry g2 
) const
overridevirtual

Implements gis::Functor< bool >.

◆ operator()() [2/2]

bool gis::Covered_by::operator() ( const Box b1,
const Box b2 
) const

◆ semi_major()

double gis::Covered_by::semi_major ( ) const
inline

◆ semi_minor()

double gis::Covered_by::semi_minor ( ) const
inline

Member Data Documentation

◆ m_semi_major

double gis::Covered_by::m_semi_major
private

Semi-major axis of ellipsoid.

◆ m_semi_minor

double gis::Covered_by::m_semi_minor
private

Semi-minor axis of ellipsoid.


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