|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.iso.topograph2D.EdgeRing
public abstract class EdgeRing
Field Summary | |
---|---|
protected CGAlgorithms |
cga
|
protected org.opengis.referencing.crs.CoordinateReferenceSystem |
crs
|
protected DirectedEdge |
startDe
|
Constructor Summary | |
---|---|
EdgeRing(DirectedEdge start,
org.opengis.referencing.crs.CoordinateReferenceSystem crs,
CGAlgorithms cga)
|
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 |
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()
|
int |
getMaxNodeDegree()
|
abstract DirectedEdge |
getNext(DirectedEdge de)
|
org.opengis.geometry.primitive.Ring |
getRing()
|
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)
|
SurfaceImpl |
toPolygon()
Creates a Surface based on the given ring and holes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DirectedEdge startDe
protected org.opengis.referencing.crs.CoordinateReferenceSystem crs
protected CGAlgorithms cga
Constructor Detail |
---|
public EdgeRing(DirectedEdge start, org.opengis.referencing.crs.CoordinateReferenceSystem crs, CGAlgorithms cga)
Method Detail |
---|
public abstract DirectedEdge getNext(DirectedEdge de)
public abstract void setEdgeRing(DirectedEdge de, EdgeRing er)
public boolean isIsolated()
public boolean isHole()
public Coordinate getCoordinate(int i)
public org.opengis.geometry.primitive.Ring getRing()
public Label getLabel()
public boolean isShell()
public EdgeRing getShell()
public void setShell(EdgeRing shell)
public void addHole(EdgeRing ring)
public SurfaceImpl toPolygon()
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 |