MySQL 8.4.2
Source Code Documentation
|
This file implements the touches functor and function. More...
#include <cstddef>
#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/relops.h"
#include "sql/gis/touches_functor.h"
#include "sql/gis/within_functor.h"
#include "sql/sql_exception_handler.h"
Namespaces | |
namespace | gis |
Functions | |
template<typename GC > | |
static bool | gis::geometry_collection_apply_touches (const Touches &f, const Geometry *g1, const Geometry *g2) |
Apply a Touches 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::touches (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, bool *touches, bool *null) noexcept |
Computes the touches relation between two geometries. More... | |
bool | gis::mbr_touches (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, bool *touches, bool *null) noexcept |
Computes the touches relation between the minimum bounding rectangles of two geometries. More... | |
This file implements the touches functor and function.