MySQL 9.0.0
Source Code Documentation
gc_utils.h File Reference

This file declares the interface of various utility functions for geometrycollections. More...

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::Geometrycollectiongis::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...
 

Detailed Description

This file declares the interface of various utility functions for geometrycollections.

The functions may throw exceptions.