KGrid2D::Square< T > Class Template Reference
This template is a Generic implementation for a square bidimensionnal grid (SquareBase). More...
#include <kgrid2d.h>
Inheritance diagram for KGrid2D::Square< T >:


Public Member Functions | |
Square (uint width=0, uint height=0) | |
CoordList | neighbours (const Coord &c, bool insideOnly=true, bool directOnly=false) const |
Coord | toEdge (const Coord &c, Neighbour n) const |
Detailed Description
template<class T>
class KGrid2D::Square< T >
This template is a Generic implementation for a square bidimensionnal grid (SquareBase).
- Since:
- 3.2
Definition at line 311 of file kgrid2d.h.
Constructor & Destructor Documentation
|
Constructor.
|
Member Function Documentation
|
Definition at line 327 of file kgrid2d.h. References QValueList::append(), KGrid2D::Generic< T >::inside(), and KGrid2D::SquareBase::neighbour(). |
|
Definition at line 344 of file kgrid2d.h. References KGrid2D::Generic< T >::height(), and KGrid2D::Generic< T >::width(). |
The documentation for this class was generated from the following file: