|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.planar.SimplePlanarInformation | +--y.layout.planar.DualPlanarInformation
A class for all the dual graph stuff
Nested Class Summary |
Nested classes inherited from class y.layout.planar.SimplePlanarInformation |
SimplePlanarInformation.SimpleEdgeInfo |
Field Summary |
Fields inherited from class y.layout.planar.SimplePlanarInformation |
faceList, graph, outerFace |
Constructor Summary | |
DualPlanarInformation(SimplePlanarInformation _realPlanar)
Creates dual graph of an embedded graph. |
|
DualPlanarInformation(SimplePlanarInformation _realPlanar,
EdgeList hiddenEdges)
Creates dual graph of an embedded graph. |
Method Summary | |
protected void |
checkConsistency()
|
void |
computeDualGraph()
|
void |
createCircularEdgeOrder()
Creates the circular edge-order in the primal graph. |
void |
dispose()
Undoes the changes in the graph. |
Edge |
getDualEdge(Edge _realEdge)
|
Node |
getDualNode(Face _realFace)
|
Edge |
getRealEdge(Edge _dualEdge)
|
Face |
getRealFace(Node _dualNode)
|
void |
splitFace(Edge edge,
Face[] oldFaces,
Face[] newFaces)
A face is split by adding an edge. |
void |
subdivide(Edge e,
Edge[] result)
This method is handled every time the method subdivide (PlanarInformation) is invoked. |
void |
subscribe()
|
void |
unsplitFace(Edge edge,
Face[] oldFaces,
Face[] newFaces)
Faces are unsplit by removing an edge. |
void |
unsubdivide(Edge[] splitEdges,
Edge e)
This method transfers edge informations from splitted edges to the resulting edge. |
void |
unsubscribe()
|
Methods inherited from class y.layout.planar.SimplePlanarInformation |
calcFaces, calcFaces, calcOrdering, createFace, createFaceMap, createReverse, createSimpleEdgeInfo, cyclicNextEdge, cyclicPrevEdge, disposeFaceMap, faceCount, faceOf, faces, followingEdge, getGraph, getOuterFace, getReverse, getSimpleEdgeInfo, isInsertedEdge, isOuterFaceSetCorrectly, isPlanar, markAsInsertedEdge, setFaceOf, setIsInsertedEdge, setOuterFace, setReverse, showCircularEdgeOrder, showFaces, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DualPlanarInformation(SimplePlanarInformation _realPlanar)
_realPlanar
- embedded graph.public DualPlanarInformation(SimplePlanarInformation _realPlanar, EdgeList hiddenEdges)
_realPlanar
- embedded graph.Method Detail |
public void subscribe()
public void unsubscribe()
public Face getRealFace(Node _dualNode)
public Node getDualNode(Face _realFace)
public Edge getRealEdge(Edge _dualEdge)
public Edge getDualEdge(Edge _realEdge)
public void computeDualGraph()
public void createCircularEdgeOrder()
public void subdivide(Edge e, Edge[] result)
SubdivisionHandler
subdivide
in interface SubdivisionHandler
public void unsubdivide(Edge[] splitEdges, Edge e)
SubdivisionHandler
unsubdivide
in interface SubdivisionHandler
public void splitFace(Edge edge, Face[] oldFaces, Face[] newFaces)
SubdivisionHandler
splitFace
in interface SubdivisionHandler
edge
- the edge which splits the face.oldFaces
- the faces in the old embedding which change.newFaces
- the faces in the new embedding which change.public void unsplitFace(Edge edge, Face[] oldFaces, Face[] newFaces)
SubdivisionHandler
unsplitFace
in interface SubdivisionHandler
edge
- the edge which unsplits the faces.oldFaces
- the faces in the old embedding which change.newFaces
- the faces in the new embedding which change.public void dispose()
dispose
in class SimplePlanarInformation
protected void checkConsistency()
|
© 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 |