93 static std::unique_ptr<geom::Geometry>
98 return op.Union(progressFunction);
102 static std::unique_ptr<geom::Geometry>
103 Union(
const T& geoms,
108 return op.Union(progressFunction);
111 static std::unique_ptr<geom::Geometry>
115 return op.Union(progressFunction);
120 : geomFact(&geomFactIn)
121 , unionFunction(&defaultUnionFunction)
129 , unionFunction(&defaultUnionFunction)
136 , unionFunction(&defaultUnionFunction)
143 unionFunction = unionFun;
160 template <
typename T>
162 extractGeoms(
const T& geoms)
164 for(
typename T::const_iterator
188 std::unique_ptr<geom::Geometry>
194 return unionFunction->Union(&g0, empty.get());
206 static std::unique_ptr<geom::Geometry> unionWithNull(
207 std::unique_ptr<geom::Geometry> g0,
208 std::unique_ptr<geom::Geometry> g1
212 std::vector<const geom::Surface*> polygons;
213 std::vector<const geom::Curve*> lines;
214 std::vector<const geom::Point*> points;
216 const geom::GeometryFactory* geomFact;
217 std::unique_ptr<geom::Geometry> empty;
219 UnionStrategy* unionFunction;
220 ClassicUnionStrategy defaultUnionFunction;
const GeometryFactory * getFactory() const
Gets the factory which contains the context in which this geometry was created.
Definition Geometry.h:231