MySQL 9.1.0
Source Code Documentation
disjoint.cc File Reference

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

#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/disjoint_functor.h"
#include "sql/gis/geometries.h"
#include "sql/gis/geometries_traits.h"
#include "sql/gis/mbr_utils.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_disjoint (const Disjoint &f, const Geometry *g1, const Geometry *g2)
 Apply a Disjoint functor to two geometries, which both may be geometry collections, and return the boolean result of the functor applied on each combination of elements in the collections. More...
 
bool gis::disjoint (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, bool *disjoint, bool *null) noexcept
 Computes the disjoint relation between two geometries. More...
 
bool gis::mbr_disjoint (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, bool *disjoint, bool *null) noexcept
 Computes the disjoint relation between the minimum bounding rectangles of two geometries. More...
 

Detailed Description

This file implements the disjoint functor and function.