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
|
References KGrid2D::SquareBase::neighbour(), and KGrid2D::Square< T >::neighbours(). Referenced by KGrid2D::Square< T >::neighbours(). |
|
References KGrid2D::Generic< T >::height(), and KGrid2D::Generic< T >::width(). |
The documentation for this class was generated from the following file: