Class SimpleSweepLineIntersector
Finds all intersections in one or two sets of edges,
using a simple x-axis sweepline algorithm.
While still O(n^2) in the worst case, this algorithm
drastically improves the average-case time.
Inheritance
SimpleSweepLineIntersector
Assembly: NetTopologySuite.dll
Syntax
public class SimpleSweepLineIntersector : EdgeSetIntersector
Methods
|
Improve this Doc
View Source
ComputeIntersections(IList<Edge>, SegmentIntersector, Boolean)
Declaration
public override void ComputeIntersections(IList<Edge> edges, SegmentIntersector si, bool testAllSegments)
Parameters
Overrides
|
Improve this Doc
View Source
ComputeIntersections(IList<Edge>, IList<Edge>, SegmentIntersector)
Declaration
public override void ComputeIntersections(IList<Edge> edges0, IList<Edge> edges1, SegmentIntersector si)
Parameters
Overrides