KGrid2D::Square< T > Class Template Reference
#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
Constructor & Destructor Documentation
template<class T >
| KGrid2D::Square< T >::Square | ( | uint | width = 0, |
| uint | height = 0 |
||
| ) | [inline] |
Member Function Documentation
template<class T >
| CoordList KGrid2D::Square< T >::neighbours | ( | const Coord & | c, |
| bool | insideOnly = true, |
||
| bool | directOnly = false |
||
| ) | const [inline] |
template<class T >
| Coord KGrid2D::Square< T >::toEdge | ( | const Coord & | c, |
| Neighbour | n | ||
| ) | const [inline] |
The documentation for this class was generated from the following file:
Trinity API Reference