public abstract class EdgeRing extends Object
| Modifier and Type | Field and Description |
|---|---|
protected GeometryFactory |
geometryFactory
|
protected DirectedEdge |
startDe
|
| Constructor and Description |
|---|
EdgeRing(DirectedEdge
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHole(EdgeRing
|
protected void |
addPoints(Edge
|
protected void |
computePoints(DirectedEdge
Collect all the points from the DirectedEdges of this ring into a contiguous list
|
void |
computeRing()
Compute a LinearRing from the point list previously collected.
|
boolean |
containsPoint(Coordinate
This method will cause the ring to be computed.
|
Coordinate |
getCoordinate(int i)
|
List |
getEdges()
Returns the list of DirectedEdges that make up this EdgeRing
|
Label |
getLabel()
|
LinearRing |
getLinearRing()
|
int |
getMaxNodeDegree()
|
abstract DirectedEdge |
getNext(DirectedEdge
|
EdgeRing |
getShell()
|
boolean |
isHole()
|
boolean |
isIsolated()
|
boolean |
isShell()
|
protected void |
mergeLabel(Label
|
protected void |
mergeLabel(Label
Merge the RHS label from a DirectedEdge into the label for this EdgeRing.
|
abstract void |
setEdgeRing(DirectedEdge
|
void |
setInResult()
|
void |
setShell(EdgeRing
|
Polygon |
toPolygon(GeometryFactory
|
protected DirectedEdgestartDe
protected GeometryFactorygeometryFactory
public EdgeRing(DirectedEdgestart, GeometryFactory geometryFactory)
public boolean isIsolated()
public boolean isHole()
public CoordinategetCoordinate(int i)
public LinearRinggetLinearRing()
public LabelgetLabel()
public boolean isShell()
public EdgeRinggetShell()
public void setShell(EdgeRingshell)
public void addHole(EdgeRingring)
public PolygontoPolygon(GeometryFactory geometryFactory)
public void computeRing()
public abstract DirectedEdgegetNext(DirectedEdge de)
public abstract void setEdgeRing(DirectedEdgede, EdgeRing er)
public ListgetEdges()
protected void computePoints(DirectedEdgestart)
public int getMaxNodeDegree()
public void setInResult()
protected void mergeLabel(LabeldeLabel)
protected void mergeLabel(LabeldeLabel, int geomIndex)
protected void addPoints(Edgeedge, boolean isForward, boolean isFirstEdge)
public boolean containsPoint(Coordinatep)