MySQL 9.1.0
Source Code Documentation
crosses.cc File Reference

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

#include <memory>
#include <boost/geometry.hpp>
#include "sql/dd/types/spatial_reference_system.h"
#include "sql/gis/crosses_functor.h"
#include "sql/gis/difference_functor.h"
#include "sql/gis/disjoint_functor.h"
#include "sql/gis/gc_utils.h"
#include "sql/gis/geometries.h"
#include "sql/gis/geometries_traits.h"
#include "sql/gis/relops.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_crosses (const Crosses &f, const Geometry *g1, const Geometry *g2)
 Apply a Crosses 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::crosses (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, bool *crosses, bool *null) noexcept
 Computes the crosses relation between two geometries. More...
 

Detailed Description

This file implements the crosses functor and function.