Class LineMergeDirectedEdge

Hierarchy: Object , GraphComponent, DirectedEdge, LineMergeDirectedEdge
All Implemented Interfaces: Comparable
public class LineMergeDirectedEdge
extends DirectedEdge
A DirectedEdge of a LineMergeGraph.

Other

  • version: 1.7
public LineMergeDirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)
Constructs a LineMergeDirectedEdge connecting the from node to the to node.
Parameters:
directionPt - directionPt specifies this DirectedEdge's direction (given by an imaginary line from the from node to directionPt)
edgeDirection - edgeDirection whether this DirectedEdge's direction is the same as or opposite to that of the parent Edge (if any)
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