Class LineMergeDirectedEdge
- java.lang.Object
-
- org.meteoinfo.jts.planargraph.GraphComponent
-
- org.meteoinfo.jts.planargraph.DirectedEdge
-
- org.meteoinfo.jts.operation.linemerge.LineMergeDirectedEdge
-
public class LineMergeDirectedEdge extends DirectedEdge
ADirectedEdgeof aLineMergeGraph.
-
-
Field Summary
-
Fields inherited from class org.meteoinfo.jts.planargraph.DirectedEdge
angle, edgeDirection, from, p0, p1, parentEdge, quadrant, sym, to
-
Fields inherited from class org.meteoinfo.jts.planargraph.GraphComponent
isMarked, isVisited
-
-
Constructor Summary
Constructors Constructor Description LineMergeDirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)Constructs a LineMergeDirectedEdge connecting thefromnode to thetonode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LineMergeDirectedEdgegetNext()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.meteoinfo.jts.planargraph.DirectedEdge
compareDirection, compareTo, getAngle, getCoordinate, getDirectionPt, getEdge, getEdgeDirection, getFromNode, getQuadrant, getSym, getToNode, isRemoved, print, setEdge, setSym, toEdges
-
Methods inherited from class org.meteoinfo.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 thefromnode to thetonode.- Parameters:
directionPt- specifies this DirectedEdge's direction (given by an imaginary line from thefromnode 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
-
-