GEOS  3.8.0dev
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 
48 public:
63  const geom::Coordinate& directionPt,
64  bool edgeDirection);
65 
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
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Represents a directed edge in a PlanarGraph.
Definition: planargraph/DirectedEdge.h:46
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
A node in a PlanarGraph is a location where 0 or more Edge meet.
Definition: planargraph/Node.h:45
A DirectedEdge of a LineMergeGraph.
Definition: LineMergeDirectedEdge.h:47