GEOS  3.13.0dev
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 #pragma once
21 
22 #include <geos/export.h>
23 
24 #include <geos/planargraph/Edge.h> // for inheritance
25 
26 // Forward declarations
27 namespace geos {
28 namespace geom {
29 class LineString;
30 }
31 }
32 
33 
34 namespace geos {
35 namespace operation { // geos::operation
36 namespace linemerge { // geos::operation::linemerge
37 
42 class GEOS_DLL LineMergeEdge: public planargraph::Edge {
43 private:
44  const geom::LineString* line;
45 public:
51 
55  const geom::LineString* getLine() const;
56 };
57 
58 
59 } // namespace geos::operation::linemerge
60 } // namespace geos::operation
61 } // namespace geos
62 
Definition: LineString.h:65
An edge of a LineMergeGraph. The marked field indicates whether this Edge has been logically deleted ...
Definition: LineMergeEdge.h:42
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: Angle.h:25