Class LineMergeDirectedEdge
- java.lang.Object
-
- org.locationtech.jts.planargraph.GraphComponent
-
- org.locationtech.jts.planargraph.DirectedEdge
-
- org.locationtech.jts.operation.linemerge.LineMergeDirectedEdge
-
- All Implemented Interfaces:
java.lang.Comparable
public class LineMergeDirectedEdge extends DirectedEdge
ADirectedEdge
of aLineMergeGraph
.- Version:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description LineMergeDirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)
Constructs a LineMergeDirectedEdge connecting thefrom
node to theto
node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LineMergeDirectedEdge
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.-
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 Detail
-
LineMergeDirectedEdge
public LineMergeDirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)
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 Detail
-
getNext
public LineMergeDirectedEdge 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
-
-