spatial organizer More...
#include <spatial_organizer.hh>
Data Structures | |
| struct | Entry |
| struct | Index |
Public Types | |
| typedef std::vector< ITEM > | ItemList |
Public Member Functions | |
| SpatialOrganizer (Real delta) | |
| void | Add (const ITEM &item, const VEC &pos) |
| void | Remove (const ITEM &item) |
| bool | HasWithin (const VEC &pos, Real dist) const |
| ItemList | FindWithin (const VEC &pos, Real dist) const |
| void | Clear () |
| void | Swap (SpatialOrganizer &o) |
spatial organizer
Definition at line 38 of file spatial_organizer.hh.
| typedef std::vector<ITEM> ItemList |
Definition at line 40 of file spatial_organizer.hh.
| SpatialOrganizer | ( | Real | delta | ) | [inline] |
Definition at line 86 of file spatial_organizer.hh.
| void Add | ( | const ITEM & | item, | |
| const VEC & | pos | |||
| ) | [inline] |
Definition at line 92 of file spatial_organizer.hh.
| void Clear | ( | ) | [inline] |
Definition at line 185 of file spatial_organizer.hh.
Definition at line 151 of file spatial_organizer.hh.
| bool HasWithin | ( | const VEC & | pos, | |
| Real | dist | |||
| ) | const [inline] |
Definition at line 116 of file spatial_organizer.hh.
| void Remove | ( | const ITEM & | item | ) | [inline] |
Definition at line 104 of file spatial_organizer.hh.
| void Swap | ( | SpatialOrganizer< ITEM, VEC > & | o | ) | [inline] |
Definition at line 189 of file spatial_organizer.hh.
1.6.1