Search Results for

    Show / Hide Table of Contents

    Class SimpleMinimumClearance

    Computes the minimum clearance of a geometry or set of geometries.

    The Minimum Clearance is a measure of what magnitude of perturbation of its vertices can be tolerated by a geometry before it becomes topologically invalid.

    This class uses an inefficient O(N^2) scan. It is primarily for testing purposes.
    Inheritance
    object
    SimpleMinimumClearance
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Precision
    Assembly: NetTopologySuite.dll
    Syntax
    public class SimpleMinimumClearance

    Constructors

    | Edit this page View Source

    SimpleMinimumClearance(Geometry)

    Declaration
    public SimpleMinimumClearance(Geometry geom)
    Parameters
    Type Name Description
    Geometry geom

    Methods

    | Edit this page View Source

    GetDistance()

    Declaration
    public double GetDistance()
    Returns
    Type Description
    double
    | Edit this page View Source

    GetDistance(Geometry)

    Declaration
    public static double GetDistance(Geometry g)
    Parameters
    Type Name Description
    Geometry g
    Returns
    Type Description
    double
    | Edit this page View Source

    GetLine()

    Declaration
    public LineString GetLine()
    Returns
    Type Description
    LineString
    | Edit this page View Source

    GetLine(Geometry)

    Declaration
    public static Geometry GetLine(Geometry g)
    Parameters
    Type Name Description
    Geometry g
    Returns
    Type Description
    Geometry

    See Also

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