|
Fawkes API
Fawkes Development Version
|
This is an implementation of a a fast obstacle. More...
#include <>>

Public Member Functions | |
| const std::vector< int > | get_obstacle () |
| Return the occupied cells with their values. More... | |
| int | get_key () |
| Get the key. More... | |
| void | set_key (int key) |
| Set key. More... | |
Protected Attributes | |
| std::vector< int > | occupied_cells_ |
| Aligned array of the occ cells, size is dividable through 3, because: [i] = x coord, [i+1] = y coord, [i+2] = costs. More... | |
This is an implementation of a a fast obstacle.
Definition at line 38 of file obstacle.h.
|
inline |
|
inline |
Return the occupied cells with their values.
Definition at line 50 of file obstacle.h.
References occupied_cells_.
Referenced by fawkes::ColliObstacleMap::get_obstacle().
|
inline |
Set key.
| key | the new key |
Definition at line 68 of file obstacle.h.
Referenced by fawkes::ColliObstacleMap::get_obstacle().
|
protected |
Aligned array of the occ cells, size is dividable through 3, because: [i] = x coord, [i+1] = y coord, [i+2] = costs.
Definition at line 79 of file obstacle.h.
Referenced by fawkes::ColliFastEllipse::ColliFastEllipse(), fawkes::ColliFastRectangle::ColliFastRectangle(), and get_obstacle().