|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.planargraph.GraphComponent
com.vividsolutions.jts.planargraph.DirectedEdge
com.vividsolutions.jts.operation.polygonize.PolygonizeDirectedEdge
A DirectedEdge
of a PolygonizeGraph
, which represents
an edge of a polygon formed by the graph.
May be logically deleted from the graph by setting the marked
flag.
Field Summary |
Fields inherited from class com.vividsolutions.jts.planargraph.DirectedEdge |
angle, edgeDirection, from, p0, p1, parentEdge, quadrant, sym, to |
Fields inherited from class com.vividsolutions.jts.planargraph.GraphComponent |
isMarked, isVisited |
Constructor Summary | |
PolygonizeDirectedEdge(Node from,
Node to,
Coordinate directionPt,
boolean edgeDirection)
Constructs a directed edge connecting the from node to the
to node. |
Method Summary | |
long |
getLabel()
Returns the identifier attached to this directed edge. |
PolygonizeDirectedEdge |
getNext()
Returns the next directed edge in the EdgeRing that this directed edge is a member of. |
boolean |
isInRing()
Returns the ring of directed edges that this directed edge is a member of, or null if the ring has not been set. |
void |
setLabel(long label)
Attaches an identifier to this directed edge. |
void |
setNext(PolygonizeDirectedEdge next)
Sets the next directed edge in the EdgeRing that this directed edge is a member of. |
void |
setRing(EdgeRing edgeRing)
Sets the ring of directed edges that this directed edge is a member of. |
Methods inherited from class com.vividsolutions.jts.planargraph.DirectedEdge |
compareDirection, compareTo, getAngle, getCoordinate, getDirectionPt, getEdge, getEdgeDirection, getFromNode, getQuadrant, getSym, getToNode, isRemoved, print, setEdge, setSym, toEdges |
Methods inherited from class com.vividsolutions.jts.planargraph.GraphComponent |
getComponentWithVisitedState, getContext, getData, isMarked, isVisited, setContext, setData, setMarked, setMarked, setVisited, setVisited |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolygonizeDirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)
from
node to the
to
node.
directionPt
- specifies this DirectedEdge's direction (given by an imaginary
line from the from
node to directionPt
)edgeDirection
- whether this DirectedEdge's direction is the same as or
opposite to that of the parent Edge (if any)Method Detail |
public long getLabel()
public void setLabel(long label)
public PolygonizeDirectedEdge getNext()
public void setNext(PolygonizeDirectedEdge next)
public boolean isInRing()
setRing(EdgeRing)
public void setRing(EdgeRing edgeRing)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |