2020-11-12 07:22:31 -06:00
.TH "Grid< GCellT >" 3 "Thu Nov 12 2020" "Version 1.0" "Katabatic - Routing Toolbox" \" -*- nroff -*-
2020-04-27 07:14:03 -05:00
.ad l
.nh
.SH NAME
Grid< GCellT > \- Template Class for Regular \fB Grid\fP \& .
.SH SYNOPSIS
.br
.PP
.PP
Inherits \fB BaseGrid\fP \& .
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "GCellT * \fBgetGCell\fP (unsigned int index) const"
.br
.ti -1c
.RI "GCellT * \fBgetGCell\fP (const \fBPoint\fP p) const"
.br
.ti -1c
.RI "GCellT * \fBgetGCell\fP (const \fBPoint\fP p1, const \fBPoint\fP p2) const"
.br
.ti -1c
.RI "GCellT * \fBgetGCellLeft\fP (const GCellT *gcell) const"
.br
.ti -1c
.RI "GCellT * \fBgetGCellRight\fP (const GCellT *gcell) const"
.br
.ti -1c
.RI "GCellT * \fBgetGCellUp\fP (const GCellT *gcell) const"
.br
.ti -1c
.RI "GCellT * \fBgetGCellDown\fP (const GCellT *gcell) const"
.br
.ti -1c
.RI "\fBGenericCollection\fP< GCellT * > \fBgetGCells\fP ()"
.br
.ti -1c
.RI "\fBGenericCollection\fP< GCellT * > \fBgetGCellsColumn\fP (unsigned int column, unsigned int rowStart, unsigned int rowStop)"
.br
.ti -1c
.RI "\fBGenericCollection\fP< GCellT * > \fBgetGCellsRow\fP (unsigned int row, unsigned int columnStart, unsigned int columnStop)"
.br
.in -1c
.SS "Protected Member Functions"
.in +1c
.ti -1c
.RI "\fBGrid\fP (const \fBBox\fP &)"
.br
.in -1c
.SH "Detailed Description"
.PP
.SS "template<typename GCellT>
.br
class Katabatic::Grid< GCellT >"
Template Class for Regular \fB Grid\fP \& .
Contains all general purpose methods depending on the \fB GCell\fP type and geometrical computations\& . The internal storage is still not implemented in this class\& .
.SH "Constructor & Destructor Documentation"
.PP
.SS "\fBGrid\fP (const \fBBox\fP & bb)\fC [inline]\fP, \fC [protected]\fP"
\fB Grid\fP constructor\& .
.SH "Member Function Documentation"
.PP
.SS "CGellT * getGCell (unsigned int index) const\fC [inline]\fP"
\fB Returns:\fP The grid object at linear index \fC index\fP in the vector\& . If \fC index\fP is out of bounds, return \fC NULL\fP \& .
.PP
Referenced by GCellTopology::doRp_AccessPad(), GCellTopology::doRp_AutoContacts(), and anonymous_namespace{LoadGrByNet\& .cpp}::singleGCell()\& .
.SS "CGellT * getGCell (const \fBPoint\fP p) const\fC [inline]\fP"
\fB Returns:\fP The grid object which is under position \fC p\fP \& .
.SS "CGellT * getGCell (const \fBPoint\fP p1, const \fBPoint\fP p2) const\fC [inline]\fP"
\fB Returns:\fP The grid object which is under position \fC p1\fP and \fC p2\fP \& . Not very clear though\& .
.SS "CGellT * getGCellLeft (const GCellT * gcell) const\fC [inline]\fP"
\fB Returns:\fP The left neighbor of \fC gcell\fP , \fC NULL\fP if it is the leftmost one\& .
.PP
Referenced by GCell::getLeft()\& .
.SS "CGellT * getGCellRight (const GCellT * gcell) const\fC [inline]\fP"
\fB Returns:\fP The rigth neighbor of \fC gcell\fP , \fC NULL\fP if it is the rightmost one\& .
.PP
Referenced by GCell::getRight()\& .
.SS "CGellT * getGCellUp (const GCellT * gcell) const\fC [inline]\fP"
\fB Returns:\fP The upper neighbor of \fC gcell\fP , \fC NULL\fP if it is the uppermost one\& .
.PP
Referenced by GCell::getUp()\& .
.SS "CGellT * getGCellDown (const GCellT * gcell) const\fC [inline]\fP"
\fB Returns:\fP The down neighbor of \fC gcell\fP , \fC NULL\fP if it is the downmost one\& .
.PP
Referenced by GCell::getDown()\& .
.SS "\fBGenericCollection\fP< CGellT * > getGCells ()\fC [inline]\fP"
\fB Returns:\fP A GCellT Hurricane collection built upon the linear GCellT vector of the grid\& .
.SS "\fBGenericCollection\fP< CGellT * > getGCellsColumn (unsigned int column, unsigned int rowStart, unsigned int rowStop)\fC [inline]\fP"
\fB Returns:\fP A GCellT Hurricane collection that contains the part of \fC column\fP starting from \fC rowStart\fP to \fC rowStop\fP inclusive\& .
.PP
Referenced by KatabaticEngine::createDetailedGrid()\& .
.SS "\fBGenericCollection\fP< CGellT * > getGCellsRow (unsigned int row, unsigned int columnStart, unsigned int columnStop)\fC [inline]\fP"
\fB Returns:\fP A GCellT Hurricane collection that contains the part of \fC row\fP starting from \fC columnStart\fP to \fC columnStop\fP inclusive\& .
.PP
Referenced by KatabaticEngine::createDetailedGrid()\& .
.SH "Author"
.PP
Generated automatically by Doxygen for Katabatic - Routing Toolbox from the source code\& .