GEOS
3.12.0
include
geos
operation
overlay
MinimalEdgeRing.h
1
/**********************************************************************
2
*
3
* GEOS - Geometry Engine Open Source
4
* http://geos.osgeo.org
5
*
6
* Copyright (C) 2006 Refractions Research Inc.
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
* Last port: operation/overlay/MinimalEdgeRing.java rev. 1.13 (JTS-1.10)
16
*
17
**********************************************************************/
18
19
#pragma once
20
21
22
#include <geos/export.h>
23
24
#include <geos/geomgraph/EdgeRing.h>
// for inheritance
25
#include <geos/geomgraph/DirectedEdge.h>
// for inlines
26
27
#include <vector>
28
29
// Forward declarations
30
namespace
geos
{
31
namespace
geom {
32
class
GeometryFactory;
33
}
34
namespace
geomgraph {
35
class
DirectedEdge;
36
class
EdgeRing;
37
}
38
}
39
40
namespace
geos
{
41
namespace
operation {
// geos::operation
42
namespace
overlay {
// geos::operation::overlay
43
54
class
GEOS_DLL
MinimalEdgeRing
:
public
geomgraph::EdgeRing
{
55
56
public
:
57
58
MinimalEdgeRing
(
geomgraph::DirectedEdge
* start,
59
const
geom::GeometryFactory
* geometryFactory);
60
61
~
MinimalEdgeRing
()
override
{};
62
63
geomgraph::DirectedEdge
* getNext(
geomgraph::DirectedEdge
* de)
override
64
{
65
return
de->getNextMin();
66
};
67
68
void
setEdgeRing(
geomgraph::DirectedEdge
* de,
69
geomgraph::EdgeRing
* er)
override
70
{
71
de->setMinEdgeRing(er);
72
};
73
74
};
75
76
77
}
// namespace geos::operation::overlay
78
}
// namespace geos::operation
79
}
// namespace geos
80
geos::geomgraph::EdgeRing
Definition:
geomgraph/EdgeRing.h:57
geos
Basic namespace for all GEOS functionalities.
Definition:
Angle.h:25
geos::operation::overlay::MinimalEdgeRing
A ring of Edges with the property that no node has degree greater than 2.
Definition:
MinimalEdgeRing.h:54
geos::geom::GeometryFactory
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition:
GeometryFactory.h:65
geos::geomgraph::DirectedEdge
A directed EdgeEnd.
Definition:
geomgraph/DirectedEdge.h:42
Generated by
1.8.20