GEOS 3.4.2

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

- File List

LineMergeDirectedEdge.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/linemerge/LineMergeDirectedEdge.java r378 (JTS-1.12)
16 *
17 **********************************************************************/
18
19 #ifndef GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H
20 #define GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H
21
22 #include <geos/export.h>
23
24 #include <geos/planargraph/DirectedEdge.h> // for inheritance
25
26 // Forward declarations
27 namespace geos {
28 namespace geom {
29 class Coordinate;
30 //class LineString;
31 }
32 namespace planargraph {
33 class Node;
34 }
35 }
36
37
38 namespace geos {
39 namespace operation { // geos::operation
40 namespace linemerge { // geos::operation::linemerge
41
47 class GEOS_DLL LineMergeDirectedEdge: public planargraph::DirectedEdge {
48 public:
62 LineMergeDirectedEdge(planargraph::Node *from,
63 planargraph::Node *to,
64 const geom::Coordinate& directionPt,
65 bool edgeDirection);
66
72 LineMergeDirectedEdge* getNext();
73 };
74
75 } // namespace geos::operation::linemerge
76 } // namespace geos::operation
77 } // namespace geos
78
79 #endif // GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H