|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.planar.Face
This class represents a face (region) in a planar graph. A face is determined by the cyclic order of its adjacent edges.
Method Summary | |
boolean |
contains(Node node)
Returns whether a given node is adjacent to the face. |
EdgeCursor |
edges()
Returns a cursor over the edges in the face. |
void |
insertEdges(Edge e1,
Edge e2)
Inserts two edges,which are reverse to each other, into the edgelist of the face. |
EdgePairCursor |
pairs()
Returns a cursor over the edge-pairs in the face. |
String |
toString()
Returns the edges in the face as string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public boolean contains(Node node)
public EdgeCursor edges()
public EdgePairCursor pairs()
Edge{airCursor
over the edge-pairs in the face.public void insertEdges(Edge e1, Edge e2)
e1
- the first edge to be inserted.e2
- the second edge to be inserted.
Precondition: source(e1) == target(e2)
source(e2) == target(e1)public String toString()
toString
in class Object
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |