Class EdgeEndBuilder
- java.lang.Object
-
- org.locationtech.jts.operation.relate.EdgeEndBuilder
-
public class EdgeEndBuilder extends java.lang.Object
- Version:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description EdgeEndBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List
computeEdgeEnds(java.util.Iterator edges)
void
computeEdgeEnds(Edge edge, java.util.List l)
Creates stub edges for all the intersections in this Edge (if any) and inserts them into the graph.(package private) void
createEdgeEndForNext(Edge edge, java.util.List l, EdgeIntersection eiCurr, EdgeIntersection eiNext)
Create a StubEdge for the edge after the intersection eiCurr.(package private) void
createEdgeEndForPrev(Edge edge, java.util.List l, EdgeIntersection eiCurr, EdgeIntersection eiPrev)
Create a EdgeStub for the edge before the intersection eiCurr.
-
-
-
Method Detail
-
computeEdgeEnds
public java.util.List computeEdgeEnds(java.util.Iterator edges)
-
computeEdgeEnds
public void computeEdgeEnds(Edge edge, java.util.List l)
Creates stub edges for all the intersections in this Edge (if any) and inserts them into the graph.
-
createEdgeEndForPrev
void createEdgeEndForPrev(Edge edge, java.util.List l, EdgeIntersection eiCurr, EdgeIntersection eiPrev)
Create a EdgeStub for the edge before the intersection eiCurr. The previous intersection is provided in case it is the endpoint for the stub edge. Otherwise, the previous point from the parent edge will be the endpoint.
eiCurr will always be an EdgeIntersection, but eiPrev may be null.
-
createEdgeEndForNext
void createEdgeEndForNext(Edge edge, java.util.List l, EdgeIntersection eiCurr, EdgeIntersection eiNext)
Create a StubEdge for the edge after the intersection eiCurr. The next intersection is provided in case it is the endpoint for the stub edge. Otherwise, the next point from the parent edge will be the endpoint.
eiCurr will always be an EdgeIntersection, but eiNext may be null.
-
-