37 #ifndef OMPL_DATASTRUCTURES_GRID_N_
38 #define OMPL_DATASTRUCTURES_GRID_N_
40 #include "ompl/datastructures/Grid.h"
46 template <
typename _T>
140 Coord test = cell->coord;
156 list.reserve(list.size() + baselist.size());
157 for (
unsigned int i = 0 ; i < baselist.size() ; ++i)
158 list.push_back(static_cast<Cell*>(baselist[i]));
168 Cell *cell =
new Cell();
174 for (
typename BaseCellArray::iterator cl = list->begin() ; cl != list->end() ; ++cl)
176 Cell* c =
static_cast<Cell*
>(*cl);
184 cell->border =
false;
200 for (
typename BaseCellArray::iterator cl = list->begin() ; cl != list->end() ; ++cl)
202 Cell* c =
static_cast<Cell*
>(*cl);
223 cells.push_back(static_cast<Cell*>(i->second));
231 unsigned int result = 0;
234 for (
unsigned int i = 0 ; i < Grid<_T>::dimension_ ; ++i)