|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Partition
Divides a rectangular area into one or more PartitionCell
s.
Partition cells have to be disjoint. The union of all partition cells covers the original area.
Method Summary | |
---|---|
YRectangle |
getBounds()
The rectangular area that is partitioned. |
List |
getCells(YRectangle rect)
Returns a list of all PartitionCell s that intersect or cover the given rectangle. |
List |
getNeighbors(PartitionCell cell)
Returns a list of all PartitionCell s that are neighbors of the given cell, this means those cells have a
common border segment with the given cell. |
Method Detail |
---|
List getNeighbors(PartitionCell cell)
PartitionCell
s that are neighbors of the given cell, this means those cells have a
common border segment with the given cell.
cell
- The cell to get the neighbors for.
PartitionCell
s that are neighbors of the given cell.List getCells(YRectangle rect)
PartitionCell
s that intersect or cover the given rectangle.
rect
- The rectangular area to get (partially) covered cells for.
PartitionCell
s.YRectangle getBounds()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |