Table of Contents

Class EdgeEndBuilder

Namespace
NetTopologySuite.Operation.Relate
Assembly
NetTopologySuite.dll

An EdgeEndBuilder creates EdgeEnds for all the "split edges" created by the intersections determined for an Edge. Computes the EdgeEnds which arise from a noded Edge.

public class EdgeEndBuilder
Inheritance
EdgeEndBuilder
Inherited Members

Constructors

EdgeEndBuilder()

public EdgeEndBuilder()

Methods

ComputeEdgeEnds(Edge, IList<EdgeEnd>)

Creates stub edges for all the intersections in this Edge (if any) and inserts them into the graph.

public void ComputeEdgeEnds(Edge edge, IList<EdgeEnd> l)

Parameters

edge Edge
l IList<EdgeEnd>

ComputeEdgeEnds(IEnumerable<Edge>)

public IList<EdgeEnd> ComputeEdgeEnds(IEnumerable<Edge> edges)

Parameters

edges IEnumerable<Edge>

Returns

IList<EdgeEnd>

CreateEdgeEndForNext(Edge, IList<EdgeEnd>, EdgeIntersection, EdgeIntersection)

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.

public void CreateEdgeEndForNext(Edge edge, IList<EdgeEnd> l, EdgeIntersection eiCurr, EdgeIntersection eiNext)

Parameters

edge Edge
l IList<EdgeEnd>
eiCurr EdgeIntersection
eiNext EdgeIntersection

CreateEdgeEndForPrev(Edge, IList<EdgeEnd>, EdgeIntersection, EdgeIntersection)

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.

public void CreateEdgeEndForPrev(Edge edge, IList<EdgeEnd> l, EdgeIntersection eiCurr, EdgeIntersection eiPrev)

Parameters

edge Edge
l IList<EdgeEnd>
eiCurr EdgeIntersection
eiPrev EdgeIntersection