Class EdgeSetIntersector
An EdgeSetIntersector computes all the intersections between the
edges in the set. It adds the computed intersections to each edge
they are found on. It may be used in two scenarios:
determining the internal intersections between a single set of edges
determining the mutual intersections between two different sets of edges
It uses a SegmentIntersector to compute the intersections between
segments and to record statistics about what kinds of intersections were found.
Inheritance
Inherited Members
Namespace: NetTopologySuite.GeometriesGraph.Index
Assembly: NetTopologySuite.dll
Syntax
public abstract class EdgeSetIntersector
Methods
| Edit this page View SourceComputeIntersections(IList<Edge>, SegmentIntersector, bool)
Computes all self-intersections between edges in a set of edges, allowing client to choose whether self-intersections are computed.
Declaration
public abstract void ComputeIntersections(IList<Edge> edges, SegmentIntersector si, bool testAllSegments)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<Edge> | edges | A list of edges to test for intersections. |
| SegmentIntersector | si | The |
| bool | testAllSegments |
|
ComputeIntersections(IList<Edge>, IList<Edge>, SegmentIntersector)
Computes all mutual intersections between two sets of edges.
Declaration
public abstract void ComputeIntersections(IList<Edge> edges0, IList<Edge> edges1, SegmentIntersector si)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<Edge> | edges0 | A set of edges |
| IList<Edge> | edges1 | A set of edges |
| SegmentIntersector | si | The |