|
GEOS 3.6.2
|
#include <DirectedEdge.h>
Public Member Functions | |
| DirectedEdge (Edge *newEdge, bool newIsForward) | |
| void | setInResult (bool newIsInResult) |
| bool | isInResult () |
| bool | isVisited () |
| void | setVisited (bool newIsVisited) |
| void | setEdgeRing (EdgeRing *newEdgeRing) |
| EdgeRing * | getEdgeRing () |
| void | setMinEdgeRing (EdgeRing *newMinEdgeRing) |
| EdgeRing * | getMinEdgeRing () |
| int | getDepth (int position) |
| void | setDepth (int position, int newDepth) |
| int | getDepthDelta () const |
| void | setVisitedEdge (bool newIsVisited) |
| Marks both DirectedEdges attached to a given Edge. | |
| DirectedEdge * | getSym () |
| Each Edge gives rise to a pair of symmetric DirectedEdges, in opposite directions. | |
| bool | isForward () |
| void | setSym (DirectedEdge *de) |
| DirectedEdge * | getNext () |
| void | setNext (DirectedEdge *newNext) |
| DirectedEdge * | getNextMin () |
| void | setNextMin (DirectedEdge *newNextMin) |
| bool | isLineEdge () |
| Tells wheter this edge is a Line. | |
| bool | isInteriorAreaEdge () |
| Tells wheter this edge is an Area. | |
| void | setEdgeDepths (int position, int newDepth) |
| Set both edge depths. | |
| virtual std::string | print () const |
| std::string | printEdge () |
| Public Member Functions inherited from geos::geomgraph::EdgeEnd | |
| EdgeEnd (Edge *newEdge, const geom::Coordinate &newP0, const geom::Coordinate &newP1, const Label &newLabel) | |
| EdgeEnd (Edge *newEdge, const geom::Coordinate &newP0, const geom::Coordinate &newP1) | |
| Edge * | getEdge () |
| Label & | getLabel () |
| const Label & | getLabel () const |
| virtual geom::Coordinate & | getCoordinate () |
| const geom::Coordinate & | getCoordinate () const |
| virtual geom::Coordinate & | getDirectedCoordinate () |
| virtual int | getQuadrant () |
| virtual double | getDx () |
| virtual double | getDy () |
| virtual void | setNode (Node *newNode) |
| virtual Node * | getNode () |
| virtual int | compareTo (const EdgeEnd *e) const |
| virtual int | compareDirection (const EdgeEnd *e) const |
| virtual void | computeLabel (const algorithm::BoundaryNodeRule &bnr) |
Protected Attributes | |
| bool | isForwardVar |
| Protected Attributes inherited from geos::geomgraph::EdgeEnd | |
| Edge * | edge |
| Label | label |
Additional Inherited Members | |
| Protected Member Functions inherited from geos::geomgraph::EdgeEnd | |
| EdgeEnd (Edge *newEdge) | |
| virtual void | init (const geom::Coordinate &newP0, const geom::Coordinate &newP1) |
A directed EdgeEnd.
| DirectedEdge * geos::geomgraph::DirectedEdge::getSym | ( | ) |
Each Edge gives rise to a pair of symmetric DirectedEdges, in opposite directions.
| bool geos::geomgraph::DirectedEdge::isInteriorAreaEdge | ( | ) |
Tells wheter this edge is an Area.
This is an interior Area edge if
| bool geos::geomgraph::DirectedEdge::isLineEdge | ( | ) |
Tells wheter this edge is a Line.
This edge is a line edge if
|
virtual |
Reimplemented from geos::geomgraph::EdgeEnd.
| void geos::geomgraph::DirectedEdge::setEdgeDepths | ( | int | position, |
| int | newDepth ) |
Set both edge depths.
One depth for a given side is provided. The other is computed depending on the Location transition and the depthDelta of the edge.
| void geos::geomgraph::DirectedEdge::setVisitedEdge | ( | bool | newIsVisited | ) |
Marks both DirectedEdges attached to a given Edge.
This is used for edges corresponding to lines, which will only appear oriented in a single direction in the result.