public abstract class EdgeRing extends Object
Constructor and Description |
---|
EdgeRing(DirectedEdge start,
GeometryFactory geometryFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addHole(EdgeRing ring) |
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) |
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() |
abstract void |
setEdgeRing(DirectedEdge de,
EdgeRing er) |
void |
setInResult() |
void |
setShell(EdgeRing shell) |
Polygon |
toPolygon(GeometryFactory geometryFactory) |
public EdgeRing(DirectedEdge start, GeometryFactory geometryFactory)
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 List getEdges()
public int getMaxNodeDegree()
public void setInResult()
public boolean containsPoint(Coordinate p)
Copyright © 2020. All rights reserved.