public class MaximalEdgeRing extends EdgeRing
DirectedEdges which may contain nodes of degree > 2. A
MaximalEdgeRing may represent two different spatial entities:
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.
MinimalEdgeRing
geometryFactory, startDe| Constructor and Description |
|---|
MaximalEdgeRing(DirectedEdge
|
| Modifier and Type | Method and Description |
|---|---|
List |
buildMinimalRings()
|
DirectedEdge |
getNext(DirectedEdge
|
void |
linkDirectedEdgesForMinimalEdgeRings()
For all nodes in this EdgeRing, link the DirectedEdges at the node to form minimalEdgeRings
|
void |
setEdgeRing(DirectedEdge
|
addHole, addPoints, computePoints, computeRing, containsPoint, getCoordinate, getEdges, getLabel, getLinearRing, getMaxNodeDegree, getShell, isHole, isIsolated, isShell, mergeLabel, mergeLabel, setInResult, setShell, toPolygonpublic MaximalEdgeRing(DirectedEdgestart, GeometryFactory geometryFactory)
public DirectedEdgegetNext(DirectedEdge de)
public void setEdgeRing(DirectedEdgede, EdgeRing er)
public void linkDirectedEdgesForMinimalEdgeRings()
public ListbuildMinimalRings()