GEOS 3.9.1
LineMergeEdge.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2005-2006 Refractions Research Inc.
7 * Copyright (C) 2001-2002 Vivid Solutions Inc.
8 *
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
13 *
14 **********************************************************************
15 *
16 * Last port: operation/linemerge/LineMergeEdge.java r378 (JTS-1.12)
17 *
18 **********************************************************************/
19
20#ifndef GEOS_OP_LINEMERGE_LINEMERGEEDGE_H
21#define GEOS_OP_LINEMERGE_LINEMERGEEDGE_H
22
23#include <geos/export.h>
24
25#include <geos/planargraph/Edge.h> // for inheritance
26
27// Forward declarations
28namespace geos {
29namespace geom {
30class LineString;
31}
32}
33
34
35namespace geos {
36namespace operation { // geos::operation
37namespace linemerge { // geos::operation::linemerge
38
43class GEOS_DLL LineMergeEdge: public planargraph::Edge {
44private:
45 const geom::LineString* line;
46public:
52
56 const geom::LineString* getLine() const;
57};
58
59
60} // namespace geos::operation::linemerge
61} // namespace geos::operation
62} // namespace geos
63
64#endif // GEOS_OP_LINEMERGE_LINEMERGEEDGE_H
Definition: LineString.h:68
An edge of a LineMergeGraph. The marked field indicates whether this Edge has been logically deleted ...
Definition: LineMergeEdge.h:43
const geom::LineString * getLine() const
LineMergeEdge(const geom::LineString *newLine)
Represents an undirected edge of a PlanarGraph.
Definition: planargraph/Edge.h:54
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26