#include <GeometryCombiner.h>
Public Member Functions | |
GeometryCombiner (std::vector< Geometry * > const &geoms) | |
Geometry * | combine () |
Static Public Member Functions | |
static Geometry * | combine (std::vector< Geometry * > const &geoms) |
static Geometry * | combine (Geometry *g0, Geometry *g1) |
static Geometry * | combine (Geometry *g0, Geometry *g1, Geometry *g2) |
static GeometryFactory const * | extractFactory (std::vector< Geometry * > const &geoms) |
geos::geom::util::GeometryCombiner::GeometryCombiner | ( | std::vector< Geometry * > const & | geoms | ) |
Creates a new combiner for a collection of geometries
geoms | the geometries to combine |
static Geometry* geos::geom::util::GeometryCombiner::combine | ( | std::vector< Geometry * > const & | geoms | ) | [static] |
Combines a collection of geometries.
geoms | the geometries to combine |
static Geometry* geos::geom::util::GeometryCombiner::combine | ( | Geometry * | g0, | |
Geometry * | g1 | |||
) | [static] |
Combines two geometries.
g0 | a geometry to combine | |
g1 | a geometry to combine |
static Geometry* geos::geom::util::GeometryCombiner::combine | ( | Geometry * | g0, | |
Geometry * | g1, | |||
Geometry * | g2 | |||
) | [static] |
Combines three geometries.
g0 | a geometry to combine | |
g1 | a geometry to combine | |
g2 | a geometry to combine |
static GeometryFactory const* geos::geom::util::GeometryCombiner::extractFactory | ( | std::vector< Geometry * > const & | geoms | ) | [static] |
Extracts the GeometryFactory used by the geometries in a collection
geoms |
Geometry* geos::geom::util::GeometryCombiner::combine | ( | ) |
Computes the combination of the input geometries to produce the most appropriate Geometry or GeometryCollection