Class EdgeEndBundle
- java.lang.Object
-
- org.locationtech.jts.geomgraph.EdgeEnd
-
- org.locationtech.jts.operation.relate.EdgeEndBundle
-
- All Implemented Interfaces:
Comparable
public class EdgeEndBundle extends EdgeEnd
A collection ofEdgeEnd
s which obey the following invariant: They originate at the same node and have the same direction.- Version:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description EdgeEndBundle(BoundaryNodeRule boundaryNodeRule, EdgeEnd e)
EdgeEndBundle(EdgeEnd e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeLabel(BoundaryNodeRule boundaryNodeRule)
This computes the overall edge label for the set of edges in this EdgeStubBundle.List
getEdgeEnds()
Label
getLabel()
void
insert(EdgeEnd e)
Iterator
iterator()
void
print(PrintStream out)
-
Methods inherited from class org.locationtech.jts.geomgraph.EdgeEnd
compareDirection, compareTo, getCoordinate, getDirectedCoordinate, getDx, getDy, getEdge, getNode, getQuadrant, init, setNode, toString
-
-
-
-
Constructor Detail
-
EdgeEndBundle
public EdgeEndBundle(BoundaryNodeRule boundaryNodeRule, EdgeEnd e)
-
EdgeEndBundle
public EdgeEndBundle(EdgeEnd e)
-
-
Method Detail
-
iterator
public Iterator iterator()
-
getEdgeEnds
public List getEdgeEnds()
-
insert
public void insert(EdgeEnd e)
-
computeLabel
public void computeLabel(BoundaryNodeRule boundaryNodeRule)
This computes the overall edge label for the set of edges in this EdgeStubBundle. It essentially merges the ON and side labels for each edge. These labels must be compatible- Overrides:
computeLabel
in classEdgeEnd
-
print
public void print(PrintStream out)
-
-