public class LineMergeDirectedEdge extends DirectedEdge
DirectedEdge
of a
LineMergeGraph
.Constructor and Description |
---|
LineMergeDirectedEdge(Node from,
Node to,
Coordinate directionPt,
boolean edgeDirection)
Constructs a LineMergeDirectedEdge connecting the
from node to the
to node. |
Modifier and Type | Method and 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.
|
compareDirection, compareTo, getAngle, getCoordinate, getDirectionPt, getEdge, getEdgeDirection, getFromNode, getQuadrant, getSym, getToNode, isRemoved, print, setEdge, setSym, toEdges
getComponentWithVisitedState, getContext, getData, isMarked, isVisited, setContext, setData, setMarked, setMarked, setVisited, setVisited
public LineMergeDirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)
from
node to the
to
node.directionPt
- specifies this DirectedEdge's direction (given by an imaginary
line from the from
node to directionPt
)edgeDirection
- whether this DirectedEdge's direction is the same as or
opposite to that of the parent Edge (if any)public LineMergeDirectedEdge getNext()
Copyright © 2022. All rights reserved.