Search Results for

    Show / Hide Table of Contents

    Class MaximalEdgeRing

    A ring of edges which may contain nodes of degree > 2. A MaximalEdgeRing may represent two different spatial entities: a single polygon possibly containing inversions (if the ring is oriented CW) a single hole possibly containing exversions (if the ring is oriented CCW) If the MaximalEdgeRing represents a polygon, the interior of the polygon is strongly connected. These are the form of rings used to define polygons under some spatial data models. However, under the OGC SFS model, MinimalEdgeRings are required. A MaximalEdgeRing can be converted to a list of MinimalEdgeRings using the BuildMinimalRings() method.

    Inheritance
    object
    EdgeRing
    MaximalEdgeRing
    Inherited Members
    EdgeRing.startDe
    EdgeRing.GeometryFactory
    EdgeRing.IsIsolated
    EdgeRing.IsHole
    EdgeRing.GetCoordinate(int)
    EdgeRing.LinearRing
    EdgeRing.Label
    EdgeRing.IsShell
    EdgeRing.Shell
    EdgeRing.AddHole(EdgeRing)
    EdgeRing.ToPolygon(GeometryFactory)
    EdgeRing.ComputeRing()
    EdgeRing.Edges
    EdgeRing.ComputePoints(DirectedEdge)
    EdgeRing.MaxNodeDegree
    EdgeRing.SetInResult()
    EdgeRing.MergeLabel(Label)
    EdgeRing.MergeLabel(Label, int)
    EdgeRing.AddPoints(Edge, bool, bool)
    EdgeRing.ContainsPoint(Coordinate)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Operation.Overlay
    Assembly: NetTopologySuite.dll
    Syntax
    public class MaximalEdgeRing : EdgeRing

    Constructors

    | Edit this page View Source

    MaximalEdgeRing(DirectedEdge, GeometryFactory)

    Declaration
    public MaximalEdgeRing(DirectedEdge start, GeometryFactory geometryFactory)
    Parameters
    Type Name Description
    DirectedEdge start
    GeometryFactory geometryFactory

    Methods

    | Edit this page View Source

    BuildMinimalRings()

    Declaration
    public IList<EdgeRing> BuildMinimalRings()
    Returns
    Type Description
    IList<EdgeRing>
    | Edit this page View Source

    GetNext(DirectedEdge)

    Declaration
    public override DirectedEdge GetNext(DirectedEdge de)
    Parameters
    Type Name Description
    DirectedEdge de
    Returns
    Type Description
    DirectedEdge
    Overrides
    EdgeRing.GetNext(DirectedEdge)
    | Edit this page View Source

    LinkDirectedEdgesForMinimalEdgeRings()

    For all nodes in this EdgeRing, link the DirectedEdges at the node to form minimalEdgeRings

    Declaration
    public void LinkDirectedEdgesForMinimalEdgeRings()
    | Edit this page View Source

    SetEdgeRing(DirectedEdge, EdgeRing)

    Declaration
    public override void SetEdgeRing(DirectedEdge de, EdgeRing er)
    Parameters
    Type Name Description
    DirectedEdge de
    EdgeRing er
    Overrides
    EdgeRing.SetEdgeRing(DirectedEdge, EdgeRing)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX