19 #ifndef GEOS_GEOM_UTIL_GEOMETRYCOMBINER_H
20 #define GEOS_GEOM_UTIL_GEOMETRYCOMBINER_H
29 class GeometryFactory;
57 static std::unique_ptr<Geometry>
combine(std::vector<const Geometry*>
const& geoms);
58 static std::unique_ptr<Geometry>
combine(std::vector<std::unique_ptr<Geometry>>
const& geoms);
82 std::vector<const Geometry*>
const& inputGeoms;
109 void extractElements(
const Geometry* geom, std::vector<const Geometry*>& elems);
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Combines Geometrys to produce a GeometryCollection of the most appropriate type.
Definition: GeometryCombiner.h:49
static std::unique_ptr< Geometry > combine(std::vector< const Geometry * > const &geoms)
Combines a collection of geometries.
static std::unique_ptr< Geometry > combine(const Geometry *g0, const Geometry *g1)
Combines two geometries.
static std::unique_ptr< Geometry > combine(const Geometry *g0, const Geometry *g1, const Geometry *g2)
Combines three geometries.
std::unique_ptr< Geometry > combine()
Computes the combination of the input geometries to produce the most appropriate Geometry or Geometry...
GeometryCombiner(std::vector< const Geometry * > const &geoms)
Creates a new combiner for a collection of geometries.
static GeometryFactory const * extractFactory(std::vector< const Geometry * > const &geoms)
Extracts the GeometryFactory used by the geometries in a collection.
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26