19 #ifndef GEOS_OP_BUFFER_RIGHTMOSTEDGEFINDER_H
20 #define GEOS_OP_BUFFER_RIGHTMOSTEDGEFINDER_H
22 #include <geos/export.h>
24 #include <geos/geom/Coordinate.h>
47 class GEOS_DLL RightmostEdgeFinder {
53 geom::Coordinate minCoord;
55 geomgraph::DirectedEdge* minDe;
57 geomgraph::DirectedEdge* orientedDe;
59 void findRightmostEdgeAtNode();
61 void findRightmostEdgeAtVertex();
63 void checkForRightmostCoordinate(geomgraph::DirectedEdge* de);
65 int getRightmostSide(geomgraph::DirectedEdge* de,
int index);
67 int getRightmostSideOfSegment(geomgraph::DirectedEdge* de,
int i);
78 RightmostEdgeFinder();
80 geomgraph::DirectedEdge* getEdge();
82 geom::Coordinate& getCoordinate();
85 void findEdge(std::vector<geomgraph::DirectedEdge*>* dirEdgeList);
89 inline geomgraph::DirectedEdge*
90 RightmostEdgeFinder::getEdge()
96 inline geom::Coordinate&
97 RightmostEdgeFinder::getCoordinate()
109 #endif // ndef GEOS_OP_BUFFER_RIGHTMOSTEDGEFINDER_H