MySQL 8.0.40
Source Code Documentation
|
This file declares the interface of various utility functions for geometrycollections. More...
#include <memory>
#include "sql/dd/types/spatial_reference_system.h"
#include "sql/gis/difference_functor.h"
#include "sql/gis/geometries.h"
#include "sql/gis/union_functor.h"
Go to the source code of this file.
Classes | |
class | gis::invalid_geometry_exception |
Invalid geometry exception. More... | |
class | gis::too_large_polygon_exception |
Too large polygon exception. More... | |
Namespaces | |
namespace | gis |
Functions | |
void | gis::split_gc (const Geometrycollection *gc, std::unique_ptr< Multipoint > *mpt, std::unique_ptr< Multilinestring > *mls, std::unique_ptr< Multipolygon > *mpy) |
Splits a geometrycollection into points, linestrings and polygons. More... | |
void | gis::gc_union (double semi_major, double semi_minor, std::unique_ptr< Multipoint > *mpt, std::unique_ptr< Multilinestring > *mls, std::unique_ptr< Multipolygon > *mpy) |
Cleans up overlapping geometries so that the geometrycollection is broken down into non-overlapping collections. More... | |
std::unique_ptr< gis::Geometrycollection > | gis::narrowest_multigeometry (std::unique_ptr< Geometrycollection > geometrycollection) |
Narrows down a geometrycollection to return a Multipoint, Multilinestring or a Multipolygon if the first level of the geometrycollection contains only points, linestrings or polygons. More... | |
This file declares the interface of various utility functions for geometrycollections.
The functions may throw exceptions.