| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.planar.Face
public class 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 edge list of the face. | 
|  EdgePairCursor | pairs()Returns a cursor over the edge-pairs in the face. | 
|  int | size()Returns the number of darts (edges) in the face. | 
|  java.lang.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 int size()
public boolean contains(Node node)
public EdgeCursor edges()
public EdgePairCursor pairs()
EdgePairCursor 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 java.lang.String toString()
toString in class java.lang.Object| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||