Search Results for

    Show / Hide Table of Contents

    Class LineLimiter

    Limits the segments in a list of segments to those which intersect an envelope. This creates zero or more sections of the input segment sequences, containing only line segments which intersect the limit envelope. Segments are not clipped, since that can move line segments enough to alter topology, and it happens in the overlay in any case. This can substantially reduce the number of vertices which need to be processed during overlay.

    This optimization is only applicable to Line geometries, since it does not maintain the closed topology of rings. Polygonal geometries are optimized using the RingClipper.
    Inheritance
    object
    LineLimiter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Operation.OverlayNG
    Assembly: NetTopologySuite.dll
    Syntax
    public sealed class LineLimiter

    Constructors

    | Edit this page View Source

    LineLimiter(Envelope)

    Creates a new limiter for a given envelope.

    Declaration
    public LineLimiter(Envelope env)
    Parameters
    Type Name Description
    Envelope env

    The envelope to limit to

    Methods

    | Edit this page View Source

    Limit(IEnumerable<Coordinate>)

    Limits a list of segments.

    Declaration
    public List<Coordinate[]> Limit(IEnumerable<Coordinate> pts)
    Parameters
    Type Name Description
    IEnumerable<Coordinate> pts

    The segment sequence to limit

    Returns
    Type Description
    List<Coordinate[]>

    The sections which intersect the limit envelope

    See Also

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