Template Class for Regular Grid. More...
Public Member Functions | |
GCellT * | getGCell (unsigned int index) const |
GCellT * | getGCell (const Point p) const |
GCellT * | getGCell (const Point p1, const Point p2) const |
GCellT * | getGCellLeft (const GCellT *gcell) const |
GCellT * | getGCellRight (const GCellT *gcell) const |
GCellT * | getGCellUp (const GCellT *gcell) const |
GCellT * | getGCellDown (const GCellT *gcell) const |
GenericCollection< GCellT * > | getGCells () |
GenericCollection< GCellT * > | getGCellsColumn (unsigned int column, unsigned int rowStart, unsigned int rowStop) |
GenericCollection< GCellT * > | getGCellsRow (unsigned int row, unsigned int columnStart, unsigned int columnStop) |
Public Member Functions inherited from BaseGrid | |
void | destroy () |
const Box & | getBoundingBox () const |
unsigned int | getColumns () const |
unsigned int | getRows () const |
unsigned int | getRawSize () const |
unsigned int | getIndex (unsigned int c, unsigned int r) const |
unsigned int | getRow (unsigned int) const |
unsigned int | getColumn (unsigned int) const |
const Axis & | getXGrads () const |
const Axis & | getYGrads () const |
Protected Member Functions | |
Grid (const Box &) | |
Protected Member Functions inherited from BaseGrid | |
BaseGrid (const Box &) | |
Template Class for Regular Grid.
Contains all general purpose methods depending on the GCell type and geometrical computations. The internal storage is still not implemented in this class.
|
inline |
Returns: The grid object at linear index index
in the vector. If index
is out of bounds, return NULL
.
Referenced by GCellTopology::doRp_AccessPad(), GCellTopology::doRp_AutoContacts(), and anonymous_namespace{LoadGrByNet.cpp}::singleGCell().
|
inline |
Returns: The grid object which is under position p
.
Returns: The grid object which is under position p1
and p2
. Not very clear though.
|
inline |
Returns: The left neighbor of gcell
, NULL
if it is the leftmost one.
Referenced by GCell::getLeft().
|
inline |
Returns: The rigth neighbor of gcell
, NULL
if it is the rightmost one.
Referenced by GCell::getRight().
|
inline |
Returns: The upper neighbor of gcell
, NULL
if it is the uppermost one.
Referenced by GCell::getUp().
|
inline |
Returns: The down neighbor of gcell
, NULL
if it is the downmost one.
Referenced by GCell::getDown().
|
inline |
Returns: A GCellT Hurricane collection built upon the linear GCellT vector of the grid.
|
inline |
Returns: A GCellT Hurricane collection that contains the part of column
starting from rowStart
to rowStop
inclusive.
Referenced by KatabaticEngine::createDetailedGrid().
|
inline |
Returns: A GCellT Hurricane collection that contains the part of row
starting from columnStart
to columnStop
inclusive.
Referenced by KatabaticEngine::createDetailedGrid().
Generated by doxygen 1.8.14 on Sun Nov 21 2021 | Return to top of page |
Katabatic - Routing Toolbox | Copyright © 2008-2020 Sorbonne Universite. All rights reserved |