|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBoxCalculator
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 graph)
initialize the box calculator for a given graph. |
Method Detail |
---|
void initialize(LayeredGraph graph)
graph
- the graph to operate onLinkedList<Rectangle2D.Double> getBoxes(LEdge edge)
edge
- the edge to find a array for
LinkedList<Line2D.Double> getLines(LinkedList<Rectangle2D.Double> boxes)
boxes
- the boxes to intersect
boolean addEdge(BezierSpline spline)
spline
- the spline to add
boolean addEdge(LEdge edge)
edge
- the edge to add
void addNode(LNode node)
node
- the LNode to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |