Search Results for

    Show / Hide Table of Contents

    Class SnappingIntersectionAdder

    Finds intersections between line segments which are being snapped, and adds them as nodes.

    Inheritance
    object
    SnappingIntersectionAdder
    Implements
    ISegmentIntersector
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Noding.Snap
    Assembly: NetTopologySuite.dll
    Syntax
    public sealed class SnappingIntersectionAdder : ISegmentIntersector

    Constructors

    | Edit this page View Source

    SnappingIntersectionAdder(double, SnappingPointIndex)

    Creates an intersector which finds all snapped intersections, and adds them as nodes.

    Declaration
    public SnappingIntersectionAdder(double snapTolerance, SnappingPointIndex snapPointIndex)
    Parameters
    Type Name Description
    double snapTolerance

    The snapping tolerance distance

    SnappingPointIndex snapPointIndex

    A snap index to use

    | Edit this page View Source

    SnappingIntersectionAdder(double, SnappingPointIndex, ElevationModel)

    Creates an intersector which finds all snapped intersections, and adds them as nodes.

    Declaration
    public SnappingIntersectionAdder(double snapTolerance, SnappingPointIndex snapPointIndex, ElevationModel em)
    Parameters
    Type Name Description
    double snapTolerance

    The snapping tolerance distance

    SnappingPointIndex snapPointIndex

    A snap index to use

    ElevationModel em

    An elevation model. May be null

    Properties

    | Edit this page View Source

    IsDone

    Reports whether the client of this class needs to continue testing all intersections in an arrangement.

    Declaration
    public bool IsDone { get; }
    Property Value
    Type Description
    bool

    if there is no need to continue testing segments

    Remarks

    Always process all intersections

    Methods

    | Edit this page View Source

    ProcessIntersections(ISegmentString, int, ISegmentString, int)

    This method is called by clients of the ISegmentIntersector class to process intersections for two segments of the ISegmentStrings being intersected. Note that some clients (such as MonotoneChains) may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test).

    Declaration
    public void ProcessIntersections(ISegmentString seg0, int segIndex0, ISegmentString seg1, int segIndex1)
    Parameters
    Type Name Description
    ISegmentString seg0
    int segIndex0
    ISegmentString seg1
    int segIndex1

    Implements

    ISegmentIntersector
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX