GEOS 3.9.1
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#ifndef GEOS_OP_OVERLAY_MINIMALEDGERING_H
20#define GEOS_OP_OVERLAY_MINIMALEDGERING_H
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#include <geos/inline.h>
30
31// Forward declarations
32namespace geos {
33namespace geom {
34class GeometryFactory;
35}
36namespace geomgraph {
37class DirectedEdge;
38class EdgeRing;
39}
40}
41
42namespace geos {
43namespace operation { // geos::operation
44namespace overlay { // geos::operation::overlay
45
56class GEOS_DLL MinimalEdgeRing: public geomgraph::EdgeRing {
57
58public:
59
61 const geom::GeometryFactory* geometryFactory);
62
63 ~MinimalEdgeRing() override;
64
66
67 void setEdgeRing(geomgraph::DirectedEdge* de,
68 geomgraph::EdgeRing* er) override;
69};
70
71
72} // namespace geos::operation::overlay
73} // namespace geos::operation
74} // namespace geos
75
76#ifdef GEOS_INLINE
77#include <geos/operation/overlay/MinimalEdgeRing.inl>
78#endif
79
80#endif // ndef GEOS_OP_OVERLAY_MINIMALEDGERING_H
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:68
A directed EdgeEnd.
Definition geomgraph/DirectedEdge.h:45
Definition geomgraph/EdgeRing.h:60
A ring of Edges with the property that no node has degree greater than 2.
Definition MinimalEdgeRing.h:56
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:26