Class LineMergeDirectedEdge
java.lang.Object
org.locationtech.jts.planargraph.GraphComponent
org.locationtech.jts.planargraph.DirectedEdge
org.locationtech.jts.operation.linemerge.LineMergeDirectedEdge
- All Implemented Interfaces:
Comparable
A
DirectedEdge
of a
LineMergeGraph
.- Version:
- 1.7
-
Constructor Summary
ConstructorsConstructorDescriptionLineMergeDirectedEdge
(Node from, Node to, Coordinate directionPt, boolean edgeDirection) Constructs a LineMergeDirectedEdge connecting thefrom
node to theto
node. -
Method Summary
Modifier and TypeMethodDescriptiongetNext()
Returns the directed edge that starts at this directed edge's end point, or null if there are zero or multiple directed edges starting there.Methods inherited from class org.locationtech.jts.planargraph.DirectedEdge
compareDirection, compareTo, getAngle, getCoordinate, getDirectionPt, getEdge, getEdgeDirection, getFromNode, getQuadrant, getSym, getToNode, isRemoved, print, setEdge, setSym, toEdges
Methods inherited from class org.locationtech.jts.planargraph.GraphComponent
getComponentWithVisitedState, getContext, getData, isMarked, isVisited, setContext, setData, setMarked, setMarked, setVisited, setVisited
-
Constructor Details
-
LineMergeDirectedEdge
Constructs a LineMergeDirectedEdge connecting thefrom
node to theto
node.- Parameters:
directionPt
- specifies this DirectedEdge's direction (given by an imaginary line from thefrom
node todirectionPt
)edgeDirection
- whether this DirectedEdge's direction is the same as or opposite to that of the parent Edge (if any)
-
-
Method Details
-
getNext
Returns the directed edge that starts at this directed edge's end point, or null if there are zero or multiple directed edges starting there.- Returns:
- the directed edge
-