GEOS 3.11.1
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
26namespace geos {
27namespace geom {
28class Coordinate;
29//class LineString;
30}
31namespace planargraph {
32class Node;
33}
34}
35
36
37namespace geos {
38namespace operation { // geos::operation
39namespace linemerge { // geos::operation::linemerge
40
47public:
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:58
A DirectedEdge of a LineMergeGraph.
Definition: LineMergeDirectedEdge.h:46
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...
LineMergeDirectedEdge(planargraph::Node *from, planargraph::Node *to, const geom::Coordinate &directionPt, bool edgeDirection)
Constructs a LineMergeDirectedEdge connecting the from node to the to node.
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: geos.h:39