com.vividsolutions.jts.operation.overlay

Class MinimalEdgeRing


public class MinimalEdgeRing
extends EdgeRing

A ring of Edges with the property that no node has degree greater than 2. These are the form of rings required to represent polygons under the OGC SFS spatial data model.
Version:
1.6
See Also:
MaximalEdgeRing

Field Summary

Fields inherited from class com.vividsolutions.jts.geomgraph.EdgeRing

cga, geometryFactory, startDe

Constructor Summary

MinimalEdgeRing(DirectedEdge start, GeometryFactory geometryFactory, CGAlgorithms cga)

Method Summary

DirectedEdge
getNext(DirectedEdge de)
void
setEdgeRing(DirectedEdge de, EdgeRing er)

Methods inherited from class com.vividsolutions.jts.geomgraph.EdgeRing

addHole, addPoints, computePoints, computeRing, containsPoint, getCoordinate, getEdges, getLabel, getLinearRing, getMaxNodeDegree, getNext, getShell, isHole, isIsolated, isShell, mergeLabel, mergeLabel, setEdgeRing, setInResult, setShell, toPolygon

Constructor Details

MinimalEdgeRing

public MinimalEdgeRing(DirectedEdge start,
                       GeometryFactory geometryFactory,
                       CGAlgorithms cga)

Method Details

getNext

public DirectedEdge getNext(DirectedEdge de)
Overrides:
getNext in interface EdgeRing

setEdgeRing

public void setEdgeRing(DirectedEdge de,
                        EdgeRing er)
Overrides:
setEdgeRing in interface EdgeRing