GEOS 3.9.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#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
27namespace geos {
28namespace geom {
29class Coordinate;
30//class LineString;
31}
32namespace planargraph {
33class Node;
34}
35}
36
37
38namespace geos {
39namespace operation { // geos::operation
40namespace linemerge { // geos::operation::linemerge
41
48public:
63 const geom::Coordinate& directionPt,
64 bool edgeDirection);
65
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
A DirectedEdge of a LineMergeGraph.
Definition LineMergeDirectedEdge.h:47
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()
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:46
A node in a PlanarGraph is a location where 0 or more Edge meet.
Definition planargraph/Node.h:45
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:26