Search Results for

    Show / Hide Table of Contents

    Class CoverageGapFinder

    Finds gaps in a polygonal coverage. Gaps are holes in the coverage which are narrower than a given width.

    The coverage should be valid according to {@link CoverageValidator}. If this is not the case, some gaps may not be reported, or the invocation may fail.

    This is a more accurate way of identifying gaps than using {@link CoverageValidator#setGapWidth(double)}. Gaps which separate the coverage into two disjoint regions are not detected. Gores are not identified as gaps.>
    Inheritance
    object
    CoverageGapFinder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Coverage
    Assembly: NetTopologySuite.dll
    Syntax
    public class CoverageGapFinder

    Constructors

    | Edit this page View Source

    CoverageGapFinder(Geometry[])

    Creates a new polygonal coverage gap finder

    Declaration
    public CoverageGapFinder(Geometry[] coverage)
    Parameters
    Type Name Description
    Geometry[] coverage

    A set of polygons forming a polygonal coverage

    Methods

    | Edit this page View Source

    FindGaps(Geometry[], double)

    Finds gaps in a polygonal coverage. Returns lines indicating the locations of the gaps.

    Declaration
    public static Geometry FindGaps(Geometry[] coverage, double gapWidth)
    Parameters
    Type Name Description
    Geometry[] coverage

    A set of polygons forming a polygonal coverage

    double gapWidth

    The maximum width of gap to detect

    Returns
    Type Description
    Geometry

    A geometry indicating the locations of gaps (which is empty if no gaps were found), or null if the coverage was empty

    | Edit this page View Source

    FindGaps(double)

    Finds gaps in the coverage. Returns lines indicating the locations of the gaps.

    Declaration
    public Geometry FindGaps(double gapWidth)
    Parameters
    Type Name Description
    double gapWidth

    The maximum width of gap to detect

    Returns
    Type Description
    Geometry

    A geometry indicating the locations of gaps (which is empty if no gaps were found), or null if the coverage was empty

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