MySQL 8.0.40
Source Code Documentation
equals.cc File Reference

This file implements the equals 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/equals_functor.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/sql_exception_handler.h"
#include "template_utils.h"

Namespaces

namespace  gis
 

Functions

template<typename GC >
static bool gis::geometry_collection_apply_equals (const Equals &f, const Geometry *g1, const Geometry *g2)
 Apply an Equals 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::equals (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, bool *equals, bool *null) noexcept
 Computes the equals relation between two geometries. More...
 
bool gis::mbr_equals (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, bool *equals, bool *null) noexcept
 Computes the equals relation between the minimum bounding rectangles of two geometries. More...
 

Detailed Description

This file implements the equals functor and function.