Class EdgeEndBuilder

java.lang.Object
org.locationtech.jts.operation.relate.EdgeEndBuilder

public class EdgeEndBuilder extends Object
Computes the EdgeEnds which arise from a noded Edge.
Version:
1.7
  • Constructor Details

    • EdgeEndBuilder

      public EdgeEndBuilder()
  • Method Details

    • computeEdgeEnds

      public List computeEdgeEnds(Iterator edges)
    • computeEdgeEnds

      public void computeEdgeEnds(Edge edge, 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, 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, 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.