21 #ifndef GF_SPATIAL_SIMPLE_SPATIAL_INDEX_H 22 #define GF_SPATIAL_SIMPLE_SPATIAL_INDEX_H 26 #include <gf/Handle.h> 27 #include <gf/Portability.h> 33 #ifndef DOXYGEN_SHOULD_SKIP_THIS 97 static constexpr std::size_t Null = -1;
98 static constexpr std::size_t Occupied = -2;
106 std::vector<Entry> m_entries;
107 std::size_t m_firstFreeEntry;
110 #ifndef DOXYGEN_SHOULD_SKIP_THIS 115 #endif // GF_SPATIAL_SIMPLE_SPATIAL_INDEX_H An very simple spatial index.
Definition: SimpleSpatialIndex.h:43
std::function< void(Handle)> SpatialQueryCallback
A callback for spatial query.
Definition: spatial/Types.h:81
SpatialId
A spatial id.
Definition: spatial/Types.h:41
Search for all objects that intersect the given bounds.
The namespace for gf classes.
Definition: Action.h:35
SpatialQuery
A kind of spatial query.
Definition: spatial/Types.h:72