|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.alg.AbstractAlgorithm
de.cau.cs.kieler.klay.layered.p5edges.ObjectBoxCalculator
public class ObjectBoxCalculator
Constructor Summary | |
---|---|
ObjectBoxCalculator()
|
Method Summary | |
---|---|
boolean |
addEdge(BezierSpline spline)
add an edge that takes space. |
boolean |
addEdge(LEdge edge)
add an egde that takes linear space with maybe bending points. |
void |
addNode(LNode node)
Add a node to the box calculator. |
LinkedList<Rectangle2D.Double> |
getBoxes(LEdge edge)
compute a box array for a given edge. |
LinkedList<Line2D.Double> |
getLines(LinkedList<Rectangle2D.Double> boxes)
calculate intersection between boxes. |
void |
initialize(LayeredGraph lg)
initialize the box calculator for a given graph. |
Methods inherited from class de.cau.cs.kieler.core.alg.AbstractAlgorithm |
---|
getMonitor, reset, reset, setProgressMonitor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectBoxCalculator()
Method Detail |
---|
public boolean addEdge(BezierSpline spline)
addEdge
in interface IBoxCalculator
spline
- the spline to add
public boolean addEdge(LEdge edge)
addEdge
in interface IBoxCalculator
edge
- the edge to add
public LinkedList<Rectangle2D.Double> getBoxes(LEdge edge)
getBoxes
in interface IBoxCalculator
edge
- the edge to find a array for
public LinkedList<Line2D.Double> getLines(LinkedList<Rectangle2D.Double> boxes)
getLines
in interface IBoxCalculator
boxes
- the boxes to intersect
public void addNode(LNode node)
addNode
in interface IBoxCalculator
node
- the LNode to addpublic void initialize(LayeredGraph lg)
initialize
in interface IBoxCalculator
lg
- the graph to operate on
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |