MySQL 9.1.0
Source Code Documentation
geometry_rtree.cc File Reference
#include <stddef.h>
#include <boost/concept/usage.hpp>
#include <boost/iterator/iterator_facade.hpp>
#include <boost/move/utility_core.hpp>
#include <boost/range/adaptor/argument_fwd.hpp>
#include <boost/range/adaptor/filtered.hpp>
#include <boost/range/adaptor/indexed.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <utility>
#include <vector>
#include "sql/item_geofunc.h"
#include "sql/item_geofunc_internal.h"

Classes

struct  Rtree_value_maker
 
struct  Is_rtree_box_valid
 
struct  Rtree_value_maker_bggeom
 

Functions

void make_rtree (const BG_geometry_collection::Geometry_list &gl, Rtree_index *rtree)
 Build an rtree set using a geometry collection. More...
 
template<typename MultiGeometry >
void make_rtree_bggeom (const MultiGeometry &mg, Rtree_index *rtree)
 Build an rtree set using array of Boost.Geometry objects, which are components of a multi geometry. More...
 
template void make_rtree_bggeom< Gis_multi_line_string > (const Gis_multi_line_string &, Rtree_index *)
 
template void make_rtree_bggeom< Gis_multi_point > (const Gis_multi_point &, Rtree_index *)
 
template void make_rtree_bggeom< Gis_multi_polygon > (const Gis_multi_polygon &, Rtree_index *)
 

Function Documentation

◆ make_rtree()

void make_rtree ( const BG_geometry_collection::Geometry_list gl,
Rtree_index rtree 
)

Build an rtree set using a geometry collection.

Parameters
glgeometry object pointers container.
[out]rtreeentries which can be used to build an rtree.

◆ make_rtree_bggeom()

template<typename MultiGeometry >
void make_rtree_bggeom ( const MultiGeometry &  mg,
Rtree_index rtree 
)

Build an rtree set using array of Boost.Geometry objects, which are components of a multi geometry.

Parameters
mgthe multi geometry.
rtreethe rtree to build.

◆ make_rtree_bggeom< Gis_multi_line_string >()

◆ make_rtree_bggeom< Gis_multi_point >()

template void make_rtree_bggeom< Gis_multi_point > ( const Gis_multi_point ,
Rtree_index  
)

◆ make_rtree_bggeom< Gis_multi_polygon >()

template void make_rtree_bggeom< Gis_multi_polygon > ( const Gis_multi_polygon ,
Rtree_index  
)