MySQL 8.0.39
Source Code Documentation
gis::Is_simple Class Reference

Is_simple functor calls boost::geometry::is_simple with the correct parameter types. More...

#include <is_simple_functor.h>

Inheritance diagram for gis::Is_simple:
[legend]

Public Member Functions

 Is_simple (double semi_major, double semi_minor)
 
bool operator() (const Geometry &g) const override
 
bool eval (const Cartesian_point &g) const
 
bool eval (const Cartesian_linestring &g) const
 
bool eval (const Cartesian_polygon &g) const
 
bool eval (const Cartesian_multipoint &g) const
 
bool eval (const Cartesian_multipolygon &g) const
 
bool eval (const Cartesian_multilinestring &g) const
 
bool eval (const Geographic_point &g) const
 
bool eval (const Geographic_linestring &g) const
 
bool eval (const Geographic_polygon &g) const
 
bool eval (const Geographic_multipoint &g) const
 
bool eval (const Geographic_multipolygon &g) const
 
bool eval (const Geographic_multilinestring &g) const
 
bool eval (const Geometrycollection &g) const
 
- Public Member Functions inherited from gis::Unary_functor< bool >
virtual ~Unary_functor ()=default
 

Private Attributes

boost::geometry::strategy::intersection::geographic_segments m_geostrat
 
double m_semi_major
 
double m_semi_minor
 

Additional Inherited Members

- Static Protected Member Functions inherited from gis::Unary_functor< bool >
static bool apply (F &f, const Geometry &g)
 

Detailed Description

Is_simple functor calls boost::geometry::is_simple with the correct parameter types.

The functor may throw exceptions. It is intended for implementing geographic functions. It should not be used directly by other MySQL code.

Constructor & Destructor Documentation

◆ Is_simple()

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

Member Function Documentation

◆ eval() [1/13]

bool gis::Is_simple::eval ( const Cartesian_linestring g) const

◆ eval() [2/13]

bool gis::Is_simple::eval ( const Cartesian_multilinestring g) const

◆ eval() [3/13]

bool gis::Is_simple::eval ( const Cartesian_multipoint g) const

◆ eval() [4/13]

bool gis::Is_simple::eval ( const Cartesian_multipolygon g) const

◆ eval() [5/13]

bool gis::Is_simple::eval ( const Cartesian_point g) const

◆ eval() [6/13]

bool gis::Is_simple::eval ( const Cartesian_polygon g) const

◆ eval() [7/13]

bool gis::Is_simple::eval ( const Geographic_linestring g) const

◆ eval() [8/13]

bool gis::Is_simple::eval ( const Geographic_multilinestring g) const

◆ eval() [9/13]

bool gis::Is_simple::eval ( const Geographic_multipoint g) const

◆ eval() [10/13]

bool gis::Is_simple::eval ( const Geographic_multipolygon g) const

◆ eval() [11/13]

bool gis::Is_simple::eval ( const Geographic_point g) const

◆ eval() [12/13]

bool gis::Is_simple::eval ( const Geographic_polygon g) const

◆ eval() [13/13]

bool gis::Is_simple::eval ( const Geometrycollection g) const

◆ operator()()

bool gis::Is_simple::operator() ( const Geometry g) const
overridevirtual

Member Data Documentation

◆ m_geostrat

boost::geometry::strategy::intersection::geographic_segments gis::Is_simple::m_geostrat
private

◆ m_semi_major

double gis::Is_simple::m_semi_major
private

◆ m_semi_minor

double gis::Is_simple::m_semi_minor
private

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