#include <UnaryUnionOp.h>
Public Member Functions | |
template<class T> | |
UnaryUnionOp (const T &geoms, geom::GeometryFactory &geomFactIn) | |
template<class T> | |
UnaryUnionOp (const T &geoms) | |
UnaryUnionOp (const geom::Geometry &geom) | |
std::auto_ptr< geom::Geometry > | Union () |
Gets the union of the input geometries. | |
Static Public Member Functions | |
template<typename T> | |
std::auto_ptr< geom::Geometry > | Union (const T &geoms) |
template<class T> | |
std::auto_ptr< geom::Geometry > | Union (const T &geoms, geom::GeometryFactory &geomFact) |
std::auto_ptr< geom::Geometry > | Union (const geom::Geometry &geom) |
The result obeys the following contract:
UnaryUnion
always operates on the individual components of MultiGeometries. So it is possible to use it to "clean" invalid self-intersecting MultiPolygons (although the polygon components must all still be individually valid.)
|
Gets the union of the input geometries. If no input geometries were provided, a POINT EMPTY is returned.
|