Class EdgeEndBuilder
java.lang.Object
org.locationtech.jts.operation.relate.EdgeEndBuilder
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeEdgeEnds
(Iterator edges) void
computeEdgeEnds
(Edge edge, 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, List l, EdgeIntersection eiCurr, EdgeIntersection eiNext) Create a StubEdge for the edge after the intersection eiCurr.(package private) void
createEdgeEndForPrev
(Edge edge, List l, EdgeIntersection eiCurr, EdgeIntersection eiPrev) Create a EdgeStub for the edge before the intersection eiCurr.
-
Constructor Details
-
EdgeEndBuilder
public EdgeEndBuilder()
-
-
Method Details
-
computeEdgeEnds
-
computeEdgeEnds
Creates stub edges for all the intersections in this Edge (if any) and inserts them into the graph. -
createEdgeEndForPrev
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
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.
-