GEOS: LineMergeEdge.h Source File

GEOS 3.5.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

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
28 namespace geos {
29 namespace geom {
30 class LineString;
31 }
32 }
33
34
35 namespace geos {
36 namespace operation { // geos::operation
37 namespace linemerge { // geos::operation::linemerge
38
43 class GEOS_DLL LineMergeEdge: public planargraph::Edge {
44 private:
45 const geom::LineString *line;
46 public:
51 LineMergeEdge(const geom::LineString *newLine);
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
geos::operation::linemerge::LineMergeEdge
An edge of a LineMergeGraph. The marked field indicates whether this Edge has been logically deleted ...
Definition: LineMergeEdge.h:43
geos::geom::LineString
Definition: LineString.h:70
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
geos::planargraph::Edge
Represents an undirected edge of a PlanarGraph.
Definition: planargraph/Edge.h:54