GEOS  3.13.0dev
coverage/CoverageUnion.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2022 Paul Ramsey <pramsey@cleverelephant.ca>
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  **********************************************************************/
14 
15 #pragma once
16 
17 #include <geos/export.h>
18 #include <vector>
19 #include <memory>
20 
21 // Forward declarations
22 namespace geos {
23 namespace geom {
24 class Geometry;
25 }
26 }
27 
29 
30 namespace geos { // geos
31 namespace coverage { // geos::coverage
32 
41 class GEOS_DLL CoverageUnion {
42 
43 private:
44 
45 
46 public:
47 
54  static std::unique_ptr<Geometry> Union(std::vector<const Geometry*>& coverage);
55 
62  static std::unique_ptr<Geometry> Union(const Geometry* coverage);
63 
64 };
65 
66 } // namespace geos::coverage
67 } // namespace geos
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
Definition: coverage/CoverageUnion.h:41
static std::unique_ptr< Geometry > Union(const Geometry *coverage)
static std::unique_ptr< Geometry > Union(std::vector< const Geometry * > &coverage)
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25