Search Results for

    Show / Hide Table of Contents

    Class OverlayResultValidator

    Validates that the result of an overlay operation is geometrically correct within a determined tolerance. Uses fuzzy point location to find points which are definitely in either the interior or exterior of the result geometry, and compares these results with the expected ones.

    Inheritance
    object
    OverlayResultValidator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Operation.Overlay.Validate
    Assembly: NetTopologySuite.dll
    Syntax
    public class OverlayResultValidator
    Remarks

    This algorithm is only useful where the inputs are polygonal. This is a heuristic test, and may return false positive results (I.e. it may fail to detect an invalid result.) It should never return a false negative result, however (I.e. it should never report a valid result as invalid.)

    Constructors

    | Edit this page View Source

    OverlayResultValidator(Geometry, Geometry, Geometry)

    Declaration
    public OverlayResultValidator(Geometry a, Geometry b, Geometry result)
    Parameters
    Type Name Description
    Geometry a
    Geometry b
    Geometry result

    Properties

    | Edit this page View Source

    InvalidLocation

    Declaration
    public Coordinate InvalidLocation { get; }
    Property Value
    Type Description
    Coordinate

    Methods

    | Edit this page View Source

    IsValid(Geometry, Geometry, SpatialFunction, Geometry)

    Declaration
    public static bool IsValid(Geometry a, Geometry b, SpatialFunction overlayOp, Geometry result)
    Parameters
    Type Name Description
    Geometry a
    Geometry b
    SpatialFunction overlayOp
    Geometry result
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsValid(SpatialFunction)

    Declaration
    public bool IsValid(SpatialFunction overlayOp)
    Parameters
    Type Name Description
    SpatialFunction overlayOp
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX