|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geomgraph.EdgeRing
public abstract class EdgeRing
Field Summary | |
---|---|
protected GeometryFactory |
geometryFactory
|
protected DirectedEdge |
startDe
|
Constructor Summary | |
---|---|
EdgeRing(DirectedEdge start,
GeometryFactory geometryFactory)
|
Method Summary | |
---|---|
void |
addHole(EdgeRing ring)
|
protected void |
addPoints(Edge edge,
boolean isForward,
boolean isFirstEdge)
|
protected void |
computePoints(DirectedEdge start)
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 p)
This method will cause the ring to be computed. |
Coordinate |
getCoordinate(int i)
|
java.util.List |
getEdges()
Returns the list of DirectedEdges that make up this EdgeRing |
Label |
getLabel()
|
LinearRing |
getLinearRing()
|
int |
getMaxNodeDegree()
|
abstract DirectedEdge |
getNext(DirectedEdge de)
|
EdgeRing |
getShell()
|
boolean |
isHole()
|
boolean |
isIsolated()
|
boolean |
isShell()
|
protected void |
mergeLabel(Label deLabel)
|
protected void |
mergeLabel(Label deLabel,
int geomIndex)
Merge the RHS label from a DirectedEdge into the label for this EdgeRing. |
abstract void |
setEdgeRing(DirectedEdge de,
EdgeRing er)
|
void |
setInResult()
|
void |
setShell(EdgeRing shell)
|
Polygon |
toPolygon(GeometryFactory geometryFactory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DirectedEdge startDe
protected GeometryFactory geometryFactory
Constructor Detail |
---|
public EdgeRing(DirectedEdge start, GeometryFactory geometryFactory)
Method Detail |
---|
public boolean isIsolated()
public boolean isHole()
public Coordinate getCoordinate(int i)
public LinearRing getLinearRing()
public Label getLabel()
public boolean isShell()
public EdgeRing getShell()
public void setShell(EdgeRing shell)
public void addHole(EdgeRing ring)
public Polygon toPolygon(GeometryFactory geometryFactory)
public void computeRing()
public abstract DirectedEdge getNext(DirectedEdge de)
public abstract void setEdgeRing(DirectedEdge de, EdgeRing er)
public java.util.List getEdges()
protected void computePoints(DirectedEdge start)
public int getMaxNodeDegree()
public void setInResult()
protected void mergeLabel(Label deLabel)
protected void mergeLabel(Label deLabel, int geomIndex)
protected void addPoints(Edge edge, boolean isForward, boolean isFirstEdge)
public boolean containsPoint(Coordinate p)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |