GEOS  3.14.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 #pragma once
20 
21 #include <geos/export.h>
22 
23 #include <geos/planargraph/DirectedEdge.h> // for inheritance
24 
25 // Forward declarations
26 namespace geos {
27 namespace geom {
28 class Coordinate;
29 //class LineString;
30 }
31 namespace planargraph {
32 class Node;
33 }
34 }
35 
36 
37 namespace geos {
38 namespace operation { // geos::operation
39 namespace linemerge { // geos::operation::linemerge
40 
47 public:
62  const geom::Coordinate& directionPt,
63  bool edgeDirection);
64 
72  LineMergeDirectedEdge* getNext(bool checkDirection = false);
73 };
74 
75 } // namespace geos::operation::linemerge
76 } // namespace geos::operation
77 } // namespace geos
78 
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:217
A DirectedEdge of a LineMergeGraph.
Definition: LineMergeDirectedEdge.h:46
LineMergeDirectedEdge(planargraph::Node *from, planargraph::Node *to, const geom::Coordinate &directionPt, bool edgeDirection)
Constructs a LineMergeDirectedEdge connecting the from node to the to node.
LineMergeDirectedEdge * getNext(bool checkDirection=false)
Returns the directed edge that starts at this directed edge's end point, or null if there are zero or...
Represents a directed edge in a PlanarGraph.
Definition: planargraph/DirectedEdge.h:45
A node in a PlanarGraph is a location where 0 or more Edge meet.
Definition: planargraph/Node.h:44
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25