public class MaximalEdgeRing extends EdgeRing
DirectedEdge
s 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, MinimalEdgeRing
s are required.
A MaximalEdgeRing can be converted to a list of MinimalEdgeRings using the
buildMinimalRings()
method.
MinimalEdgeRing
Constructor and Description |
---|
MaximalEdgeRing(DirectedEdge start,
GeometryFactory geometryFactory) |
Modifier and Type | Method and Description |
---|---|
List |
buildMinimalRings() |
DirectedEdge |
getNext(DirectedEdge de) |
void |
linkDirectedEdgesForMinimalEdgeRings()
For all nodes in this EdgeRing,
link the DirectedEdges at the node to form minimalEdgeRings
|
void |
setEdgeRing(DirectedEdge de,
EdgeRing er) |
addHole, computeRing, containsPoint, getCoordinate, getEdges, getLabel, getLinearRing, getMaxNodeDegree, getShell, isHole, isIsolated, isShell, setInResult, setShell, toPolygon
public MaximalEdgeRing(DirectedEdge start, GeometryFactory geometryFactory)
public DirectedEdge getNext(DirectedEdge de)
public void setEdgeRing(DirectedEdge de, EdgeRing er)
setEdgeRing
in class EdgeRing
public void linkDirectedEdgesForMinimalEdgeRings()
public List buildMinimalRings()
Copyright © 2022. All rights reserved.