Search Results for

    Show / Hide Table of Contents

    Class ConsistentAreaTester

    Checks that a GeometryGraph representing an area (a Polygon or MultiPolygon ) is consistent with the SFS semantics for area geometries. Checks include: Testing for rings which self-intersect (both properly and at nodes). Testing for duplicate rings. If an inconsistency if found the location of the problem is recorded.

    Inheritance
    object
    ConsistentAreaTester
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Operation.Valid
    Assembly: NetTopologySuite.dll
    Syntax
    [Obsolete]
    public class ConsistentAreaTester

    Constructors

    | Edit this page View Source

    ConsistentAreaTester(GeometryGraph)

    Declaration
    public ConsistentAreaTester(GeometryGraph geomGraph)
    Parameters
    Type Name Description
    GeometryGraph geomGraph

    Properties

    | Edit this page View Source

    HasDuplicateRings

    Checks for two duplicate rings in an area. Duplicate rings are rings that are topologically equal (that is, which have the same sequence of points up to point order). If the area is topologically consistent (determined by calling the isNodeConsistentArea, duplicate rings can be found by checking for EdgeBundles which contain more than one EdgeEnd. (This is because topologically consistent areas cannot have two rings sharing the same line segment, unless the rings are equal). The start point of one of the equal rings will be placed in invalidPoint. Returns true if this area Geometry is topologically consistent but has two duplicate rings.

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

    InvalidPoint

    Returns the intersection point, or null if none was found.

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

    IsNodeConsistentArea

    Declaration
    public bool IsNodeConsistentArea { get; }
    Property Value
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX