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
MaximalEdgeRing
Assembly: NetTopologySuite.dll
Syntax
public class MaximalEdgeRing : EdgeRing
Constructors
|
Improve this Doc
View Source
MaximalEdgeRing(DirectedEdge, GeometryFactory)
Declaration
public MaximalEdgeRing(DirectedEdge start, GeometryFactory geometryFactory)
Parameters
Methods
|
Improve this Doc
View Source
BuildMinimalRings()
Declaration
public IList<EdgeRing> BuildMinimalRings()
Returns
|
Improve this Doc
View Source
GetNext(DirectedEdge)
Declaration
public override DirectedEdge GetNext(DirectedEdge de)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
For all nodes in this EdgeRing,
link the DirectedEdges at the node to form minimalEdgeRings
Declaration
public void LinkDirectedEdgesForMinimalEdgeRings()
|
Improve this Doc
View Source
SetEdgeRing(DirectedEdge, EdgeRing)
Declaration
public override void SetEdgeRing(DirectedEdge de, EdgeRing er)
Parameters
Overrides