GEOS
3.12.0
include
geos
operation
overlayng
operation/overlayng/CoverageUnion.h
1
/**********************************************************************
2
*
3
* GEOS - Geometry Engine Open Source
4
* http://geos.osgeo.org
5
*
6
* Copyright (C) 2021 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 <memory>
19
20
// Forward declarations
21
namespace
geos
{
22
namespace
geom {
23
class
Geometry
;
24
}
25
}
26
27
using
geos::geom::Geometry
;
28
29
namespace
geos
{
// geos.
30
namespace
operation {
// geos.operation
31
namespace
overlayng {
// geos.operation.overlayng
32
69
class
GEOS_DLL
CoverageUnion
{
70
71
private
:
72
73
CoverageUnion
()
74
{
75
// No instantiation for now
76
};
77
78
79
80
public
:
81
82
static
constexpr
double
AREA_PCT_DIFF_TOL = 1e-6;
83
92
static
std::unique_ptr<Geometry>
geomunion
(
const
Geometry
* coverage);
93
94
95
};
96
97
98
}
// namespace geos.operation.overlayng
99
}
// namespace geos.operation
100
}
// namespace geos
geos::operation::overlayng::CoverageUnion
Definition:
operation/overlayng/CoverageUnion.h:69
geos::operation::overlayng::CoverageUnion::geomunion
static std::unique_ptr< Geometry > geomunion(const Geometry *coverage)
geos
Basic namespace for all GEOS functionalities.
Definition:
Angle.h:25
geos::geom::Geometry
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition:
Geometry.h:186
Generated by
1.8.20