GEOS 3.14.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
22namespace geos {
23namespace geom {
24class Geometry;
25}
26}
27
28namespace geos { // geos
29namespace coverage { // geos::coverage
30
39class GEOS_DLL CoverageUnion {
41
42private:
43
44
45public:
46
53 static std::unique_ptr<Geometry> Union(std::vector<const Geometry*>& coverage);
54
61 static std::unique_ptr<Geometry> Union(const Geometry* coverage);
62
63};
64
65} // namespace geos::coverage
66} // namespace geos
67
68
69
70
71
72
73
74
75
76
Definition coverage/CoverageUnion.h:39
static std::unique_ptr< Geometry > Union(std::vector< const Geometry * > &coverage)
static std::unique_ptr< Geometry > Union(const Geometry *coverage)
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Basic namespace for all GEOS functionalities.
Definition geos.h:39