|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.geomgraph.EdgeEnd com.vividsolutions.jts.geomgraph.DirectedEdge
public class DirectedEdge
Field Summary | |
---|---|
protected boolean |
isForward
|
Fields inherited from class com.vividsolutions.jts.geomgraph.EdgeEnd |
---|
edge, label |
Constructor Summary | |
---|---|
DirectedEdge(Edge edge,
boolean isForward)
|
Method Summary | |
---|---|
static int |
depthFactor(int currLocation,
int nextLocation)
Computes the factor for the change in depth when moving from one location to another. |
int |
getDepth(int position)
|
int |
getDepthDelta()
|
Edge |
getEdge()
|
EdgeRing |
getEdgeRing()
|
EdgeRing |
getMinEdgeRing()
|
DirectedEdge |
getNext()
|
DirectedEdge |
getNextMin()
|
DirectedEdge |
getSym()
Each Edge gives rise to a pair of symmetric DirectedEdges, in opposite directions. |
boolean |
isForward()
|
boolean |
isInResult()
|
boolean |
isInteriorAreaEdge()
This is an interior Area edge if its label is an Area label for both Geometries and for each Geometry both sides are in the interior. |
boolean |
isLineEdge()
This edge is a line edge if at least one of the labels is a line label any labels which are not line labels have all Locations = EXTERIOR |
boolean |
isVisited()
|
void |
print(java.io.PrintStream out)
|
void |
printEdge(java.io.PrintStream out)
|
void |
setDepth(int position,
int depthVal)
|
void |
setEdgeDepths(int position,
int depth)
Set both edge depths. |
void |
setEdgeRing(EdgeRing edgeRing)
|
void |
setInResult(boolean isInResult)
|
void |
setMinEdgeRing(EdgeRing minEdgeRing)
|
void |
setNext(DirectedEdge next)
|
void |
setNextMin(DirectedEdge nextMin)
|
void |
setSym(DirectedEdge de)
|
void |
setVisited(boolean isVisited)
|
void |
setVisitedEdge(boolean isVisited)
setVisitedEdge marks both DirectedEdges attached to a given Edge. |
Methods inherited from class com.vividsolutions.jts.geomgraph.EdgeEnd |
---|
compareDirection, compareTo, computeLabel, getCoordinate, getDirectedCoordinate, getDx, getDy, getLabel, getNode, getQuadrant, init, setNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean isForward
Constructor Detail |
---|
public DirectedEdge(Edge edge, boolean isForward)
Method Detail |
---|
public static int depthFactor(int currLocation, int nextLocation)
public Edge getEdge()
getEdge
in class EdgeEnd
public void setInResult(boolean isInResult)
public boolean isInResult()
public boolean isVisited()
public void setVisited(boolean isVisited)
public void setEdgeRing(EdgeRing edgeRing)
public EdgeRing getEdgeRing()
public void setMinEdgeRing(EdgeRing minEdgeRing)
public EdgeRing getMinEdgeRing()
public int getDepth(int position)
public void setDepth(int position, int depthVal)
public int getDepthDelta()
public void setVisitedEdge(boolean isVisited)
public DirectedEdge getSym()
public boolean isForward()
public void setSym(DirectedEdge de)
public DirectedEdge getNext()
public void setNext(DirectedEdge next)
public DirectedEdge getNextMin()
public void setNextMin(DirectedEdge nextMin)
public boolean isLineEdge()
public boolean isInteriorAreaEdge()
public void setEdgeDepths(int position, int depth)
public void print(java.io.PrintStream out)
print
in class EdgeEnd
public void printEdge(java.io.PrintStream out)
|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |