MySQL  8.0.27
Source Code Documentation
item_geofunc_internal.cc File Reference
#include "sql/item_geofunc_internal.h"
#include <algorithm>
#include <cstring>
#include <iterator>
#include <memory>
#include <boost/concept/usage.hpp>
#include <boost/geometry/algorithms/centroid.hpp>
#include <boost/geometry/algorithms/is_valid.hpp>
#include <boost/geometry/algorithms/overlaps.hpp>
#include <boost/geometry/core/exception.hpp>
#include <boost/geometry/geometries/box.hpp>
#include <boost/geometry/index/predicates.hpp>
#include <boost/geometry/strategies/strategies.hpp>
#include <boost/iterator/iterator_facade.hpp>
#include "m_ctype.h"
#include "m_string.h"
#include "my_byteorder.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "sql/current_thd.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/item_func.h"
#include "sql/mdl.h"
#include "sql/parse_location.h"
#include "sql/sql_class.h"
#include "sql/srs_fetcher.h"
#include "sql/system_variables.h"
#include "sql_string.h"
#include "template_utils.h"

Classes

class  Pointer_vector< T >
 Create this class for exception safety — destroy the objects referenced by the pointers in the set when destroying the container. More...
 
class  Is_target_geometry
 
class  Rtree_entry_compare
 
class  Is_empty_geometry
 

Namespaces

 dd
 The version of the current data dictionary table definitions.
 

Functions

void reassemble_geometry (Geometry *g)
 
template<typename BG_geotype >
bool post_fix_result (BG_result_buf_mgr *resbuf_mgr, BG_geotype &geout, String *res)
 For every Geometry object write-accessed by a boost geometry function, i.e. More...
 
template bool post_fix_result< Gis_line_string > (BG_result_buf_mgr *, Gis_line_string &, String *)
 
template bool post_fix_result< Gis_multi_line_string > (BG_result_buf_mgr *, Gis_multi_line_string &, String *)
 
template bool post_fix_result< Gis_multi_point > (BG_result_buf_mgr *, Gis_multi_point &, String *)
 
template bool post_fix_result< Gis_multi_polygon > (BG_result_buf_mgr *, Gis_multi_polygon &, String *)
 
template bool post_fix_result< Gis_point > (BG_result_buf_mgr *, Gis_point &, String *)
 
template bool post_fix_result< Gis_polygon > (BG_result_buf_mgr *, Gis_polygon &, String *)
 
bool is_empty_geocollection (const Geometry *g)
 
bool is_empty_geocollection (const String &wkbres)
 

Function Documentation

◆ is_empty_geocollection() [1/2]

bool is_empty_geocollection ( const Geometry g)

◆ is_empty_geocollection() [2/2]

bool is_empty_geocollection ( const String wkbres)

◆ post_fix_result()

template<typename BG_geotype >
bool post_fix_result ( BG_result_buf_mgr resbuf_mgr,
BG_geotype &  geout,
String res 
)

For every Geometry object write-accessed by a boost geometry function, i.e.

those passed as out parameter into set operation functions, call this function before using the result object's data.

Parameters
resbuf_mgrTracks the result buffer
[in,out]geoutGeometry object
[in,out]resGEOMETRY string.
Returns
true if an error occurred or if the geometry is an empty collection; false if no error occurred.

◆ post_fix_result< Gis_line_string >()

template bool post_fix_result< Gis_line_string > ( BG_result_buf_mgr ,
Gis_line_string ,
String  
)

◆ post_fix_result< Gis_multi_line_string >()

◆ post_fix_result< Gis_multi_point >()

template bool post_fix_result< Gis_multi_point > ( BG_result_buf_mgr ,
Gis_multi_point ,
String  
)

◆ post_fix_result< Gis_multi_polygon >()

◆ post_fix_result< Gis_point >()

template bool post_fix_result< Gis_point > ( BG_result_buf_mgr ,
Gis_point ,
String  
)

◆ post_fix_result< Gis_polygon >()

template bool post_fix_result< Gis_polygon > ( BG_result_buf_mgr ,
Gis_polygon ,
String  
)

◆ reassemble_geometry()

void reassemble_geometry ( Geometry g)
inline