com.vividsolutions.jts.operation.overlay
Class MaximalEdgeRing
public 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.
addHole , addPoints , computePoints , computeRing , containsPoint , getCoordinate , getEdges , getLabel , getLinearRing , getMaxNodeDegree , getNext , getShell , isHole , isIsolated , isShell , mergeLabel , mergeLabel , setEdgeRing , setInResult , setShell , toPolygon |