MySQL 9.1.0
Source Code Documentation
overlaps.cc File Reference

This file implements the overlaps functor and function. More...

#include <memory>
#include <boost/geometry.hpp>
#include "sql/dd/types/spatial_reference_system.h"
#include "sql/gis/box.h"
#include "sql/gis/box_traits.h"
#include "sql/gis/gc_utils.h"
#include "sql/gis/geometries.h"
#include "sql/gis/geometries_traits.h"
#include "sql/gis/mbr_utils.h"
#include "sql/gis/overlaps_functor.h"
#include "sql/gis/relops.h"
#include "sql/sql_exception_handler.h"

Namespaces

namespace  gis
 

Functions

template<typename GC >
static bool gis::geometry_collection_apply_overlaps (const Overlaps &f, const Geometry *g1, const Geometry *g2)
 Apply an Overlaps functor to two geometries, which both may be geometry collections, and return the booelan result of the functor applied on each combination of elements in the collections. More...
 
bool gis::overlaps (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, bool *overlaps, bool *null) noexcept
 Computes the overlaps relation between two geometries. More...
 
bool gis::mbr_overlaps (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, bool *overlaps, bool *null) noexcept
 Computes the overlaps relation between the minimum bounding rectangles of two geometries. More...
 

Detailed Description

This file implements the overlaps functor and function.