21 #ifndef GF_SPATIAL_DYNAMIC_TREE_H 22 #define GF_SPATIAL_DYNAMIC_TREE_H 27 #include "BlockAllocator.h" 31 #include "SpatialTypes.h" 34 #ifndef DOXYGEN_SHOULD_SKIP_THIS 96 std::size_t allocateNode();
97 void disposeNode(std::size_t index);
99 void doInsert(std::size_t leaf);
100 void doRemove(std::size_t leaf);
102 std::size_t balance(std::size_t iA);
113 bool isLeaf()
const {
123 #ifndef DOXYGEN_SHOULD_SKIP_THIS 128 #endif // GF_SPATIAL_DYNAMIC_TREE_H The structure represents an internal node.
SpatialQuery
A kind of spatial query.
Definition: SpatialTypes.h:73
An implementation of dynamic tree.
Definition: Spatial_DynamicTree.h:42
SpatialId
A spatial id.
Definition: SpatialTypes.h:42
Search for all objects that intersect the given bounds.
The namespace for gf classes.
Definition: Action.h:35
constexpr std::size_t NullIndex
A null index in a block allocator.
Definition: BlockAllocator.h:38
std::function< void(Handle)> SpatialQueryCallback
A callback for spatial query.
Definition: SpatialTypes.h:82
A handle to an object or an id.
Definition: Handle.h:40