|
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 PartitionCells.
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 PartitionCells that intersect or cover the given rectangle. |
List |
getNeighbors(PartitionCell cell)
Returns a list of all PartitionCells 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)
PartitionCells 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.
PartitionCells that are neighbors of the given cell.List getCells(YRectangle rect)
PartitionCells that intersect or cover the given rectangle.
rect - The rectangular area to get (partially) covered cells for.
PartitionCells.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 | ||||||||