#include <RegularGrid.h>
template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class PositionFunc = PositionTrait<T>>
static Cell RegularGrid2D< T, Node, NodeCreatorFunc, PositionFunc >::Cell::ComputeCell |
( |
float |
fx, |
|
|
float |
fy |
|
) |
| |
|
inlinestatic |
#define CELL_SIZE
Definition: RegularGrid.h:32
Definition: RegularGrid.h:28
template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class PositionFunc = PositionTrait<T>>
bool RegularGrid2D< T, Node, NodeCreatorFunc, PositionFunc >::Cell::isValid |
( |
| ) |
const |
|
inline |
87 {
return x >= 0 && x < CELL_NUMBER && y >= 0 &&
y <
CELL_NUMBER;}
int y
Definition: RegularGrid.h:78
int x
Definition: RegularGrid.h:78
Definition: RegularGrid.h:28
template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class PositionFunc = PositionTrait<T>>
79 {
return x == c2.x &&
y == c2.y;}
int y
Definition: RegularGrid.h:78
int x
Definition: RegularGrid.h:78
template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class PositionFunc = PositionTrait<T>>
int RegularGrid2D< T, Node, NodeCreatorFunc, PositionFunc >::Cell::x |
template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class PositionFunc = PositionTrait<T>>
int RegularGrid2D< T, Node, NodeCreatorFunc, PositionFunc >::Cell::y |
The documentation for this struct was generated from the following file: