Slice description (API) More...
Public Member Functions | |
Cell * | getCell () const |
const Layer * | getLayer () const |
const Box & | getBoundingBox () const |
Gos | getGos () const |
Components | getComponents () const |
Components | getComponentsUnder (const Box &area, DbU::Unit threshold=0) const |
Slice description (API)
The slices are objects which split the layout description of a cell into horizontal slices grouping all objects located on a given layer and storing them into a fast geometrical access structure implemented by a quadtree.
The slices are fully managed by the cells : they are neither created nor destroyed by the application programmer.
Components are inserted in a slice (at their creation) and removed from their slice (at their deletion).
Empty slices being automatically deleted, you must never store pointers to them.
The following example shows how to visit all cell components lying on a given basic layer and whose bounding box intersects some rectangular area.
|
inline |
Returns: the cell owning the slice.
|
inline |
Returns: the layer associated to the slice : all components lying in a cell are perforce located on that layer.
|
inline |
Returns: the bounding box of the slice, that is the smallest enclosing rectangle of all its components.
References Hurricane::QuadTree::getBoundingBox().
|
inline |
Returns: the collection of graphic objects lying on the slice.
References Hurricane::QuadTree::getGos().
const Components Hurricane::Slice::getComponents | ( | ) | const |
Returns: the collection of components lying on the slice.
const Components Hurricane::Slice::getComponentsUnder | ( | const Box & | area, |
DbU::Unit | threshold = 0 |
||
) | const |
Returns: the collection of components of the slice whose bounding box intersects the rectangular region defined by <area>
.
Generated by doxygen 1.9.1 on Thu Aug 11 2022 | Return to top of page |
Hurricane VLSI Database | Copyright © 2000-2020 Bull S.A. All rights reserved |