Search Results for

    Show / Hide Table of Contents

    Class BufferDistanceValidator

    Validates that a given buffer curve lies an appropriate distance from the input generating it.

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

    Useful only for round buffers (cap and join). Can be used for either positive or negative distances.

    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

    BufferDistanceValidator(Geometry, double, Geometry)

    Declaration
    public BufferDistanceValidator(Geometry input, double bufDistance, Geometry result)
    Parameters
    Type Name Description
    Geometry input
    double bufDistance
    Geometry result

    Fields

    | Edit this page View Source

    Verbose

    Declaration
    public static bool Verbose
    Field Value
    Type Description
    bool

    Properties

    | Edit this page View Source

    ErrorIndicator

    Gets a geometry which indicates the location and nature of a validation failure.

    The indicator is a line segment showing the location and size of the distance discrepancy.

    Declaration
    public Geometry ErrorIndicator { get; }
    Property Value
    Type Description
    Geometry

    A geometric error indicator or null, if no error was found

    | Edit this page View Source

    ErrorLocation

    Declaration
    public Coordinate ErrorLocation { get; }
    Property Value
    Type Description
    Coordinate
    | Edit this page View Source

    ErrorMessage

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    IsValid()

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