GEOS 3.13.1
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
29
30namespace geos { // geos
31namespace coverage { // geos::coverage
32
41class GEOS_DLL CoverageUnion {
42
43private:
44
45
46public:
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(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