#include <kgrid2d.h>

Public Types | |
| enum | Neighbour { Left = 0, Right, LeftUp, LeftDown, RightUp, RightDown, Nb_Neighbour } |
| Identify the six neighbours. More... | |
Static Public Member Functions | |
| static double | angle (Neighbour n) |
| |
| static Neighbour | opposed (Neighbour n) |
| |
| static Coord | neighbour (const Coord &c, Neighbour n) |
| |
| static uint | distance (const Coord &c1, const Coord &c2) |
| |
(0,0) (0,1) (0,2)
(1,0) (1,1) (1,2)
(2,0) (2,1) (2,2)
Definition at line 361 of file kgrid2d.h.
| static double KGrid2D::HexagonalBase::angle | ( | Neighbour | n | ) | [inline, static] |
Definition at line 405 of file kgrid2d.h.
References Left, LeftDown, LeftUp, Nb_Neighbour, Right, RightDown, and RightUp.
Referenced by KGrid2D::Hexagonal< Type >::neighbours().
1.5.3