Search Results for

    Show / Hide Table of Contents

    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
    object
    EdgeSetIntersector
    SimpleSweepLineIntersector
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.GeometriesGraph.Index
    Assembly: NetTopologySuite.dll
    Syntax
    public class SimpleSweepLineIntersector : EdgeSetIntersector

    Methods

    | Edit this page View Source

    ComputeIntersections(IList<Edge>, SegmentIntersector, bool)

    Declaration
    public override void ComputeIntersections(IList<Edge> edges, SegmentIntersector si, bool testAllSegments)
    Parameters
    Type Name Description
    IList<Edge> edges
    SegmentIntersector si
    bool testAllSegments
    Overrides
    EdgeSetIntersector.ComputeIntersections(IList<Edge>, SegmentIntersector, bool)
    | Edit this page View Source

    ComputeIntersections(IList<Edge>, IList<Edge>, SegmentIntersector)

    Declaration
    public override void ComputeIntersections(IList<Edge> edges0, IList<Edge> edges1, SegmentIntersector si)
    Parameters
    Type Name Description
    IList<Edge> edges0
    IList<Edge> edges1
    SegmentIntersector si
    Overrides
    EdgeSetIntersector.ComputeIntersections(IList<Edge>, IList<Edge>, SegmentIntersector)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX