GEOS
3.9.1dev
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
geos
operation
overlayng
EdgeMerger.h
Go to the documentation of this file.
1
/**********************************************************************
2
*
3
* GEOS - Geometry Engine Open Source
4
* http://geos.osgeo.org
5
*
6
* Copyright (C) 2020 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/operation/overlayng/OverlayLabel.h
>
18
#include <
geos/operation/overlayng/EdgeKey.h
>
19
#include <
geos/operation/overlayng/Edge.h
>
20
#include <
geos/export.h
>
21
22
#include <vector>
23
#include <map>
24
25
26
// Forward declarations
27
namespace
geos
{
28
namespace
geom {
29
class
Coordinate;
30
}
31
namespace
operation {
32
namespace
overlayng {
33
class
Edge;
34
class
EdgeKey;
35
}
36
}
37
}
38
39
namespace
geos
{
// geos.
40
namespace
operation {
// geos.operation
41
namespace
overlayng {
// geos.operation.overlayng
42
65
class
GEOS_DLL
EdgeMerger
{
66
67
private
:
68
69
70
// Members
71
std::vector<Edge*>&
edges
;
72
std::map<EdgeKey, Edge*>
edgeMap
;
73
74
public
:
75
76
// Methods
77
EdgeMerger
(std::vector<Edge*>& p_edges);
78
79
static
std::vector<Edge*> merge(std::vector<Edge*>& edges);
80
81
std::vector<Edge*> merge();
82
83
84
};
85
86
87
}
// namespace geos.operation.overlayng
88
}
// namespace geos.operation
89
}
// namespace geos
90
GEOS_DLL
#define GEOS_DLL
Definition:
export.h:28
export.h
Edge.h
EdgeKey.h
geos::operation::overlayng::EdgeMerger::edges
std::vector< Edge * > & edges
Definition:
EdgeMerger.h:71
geos
Basic namespace for all GEOS functionalities.
Definition:
IndexedNestedRingTester.h:26
geos::operation::overlayng::EdgeMerger::edgeMap
std::map< EdgeKey, Edge * > edgeMap
Definition:
EdgeMerger.h:72
geos::operation::overlayng::EdgeMerger
Definition:
EdgeMerger.h:65
OverlayLabel.h
Generated by
1.8.11