GEOS
3.9.1
|
Provides an efficient method of unioning a collection of Geometries. More...
#include <CascadedUnion.h>
Public Member Functions | |
CascadedUnion (const std::vector< geom::Geometry * > *geoms) | |
geom::Geometry * | Union () |
Static Public Member Functions | |
static geom::Geometry * | Union (std::vector< geom::Geometry * > *geoms) |
template<class T > | |
static geom::Geometry * | Union (T start, T end) |
Provides an efficient method of unioning a collection of Geometries.
This algorithm is more robust than the simple iterated approach of repeatedly unioning each geometry to a result geometry.
|
inline |
Creates a new instance to union the given collection of geom::Geometrys.
geoms | a collection of geom::Geometrys. Ownership of elements and vector are left to caller. |
geom::Geometry* geos::operation::geounion::CascadedUnion::Union | ( | ) |
Computes the union of the input geometries.
|
static |
Computes the union of a collection of geom::Geometrys.
geoms | a collection of geom::Geometrys. ownership of elements and vector are left to caller. |
|
inlinestatic |
Computes the union of a set of geom::Geometrys.
T | an iterator yelding something castable to const Geometry * |
start | start iterator |
end | end iterator |