![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
Spatial indexes. More...
Classes | |
class | gf::DynamicTree |
An implementation of dynamic tree. More... | |
class | gf::Quadtree |
An implementation of quadtree. More... | |
class | gf::RStarTree |
An implemntation of a R* tree. More... | |
class | gf::SimpleSpatialIndex |
An very simple spatial index. More... | |
struct | gf::SpatialStructure |
A spatial structure. More... | |
Typedefs | |
using | gf::SpatialQueryCallback = std::function< void(Handle)> |
A callback for spatial query. More... | |
Enumerations | |
enum | gf::SpatialId : std::size_t |
A spatial id. More... | |
enum class | gf::SpatialStructureType { gf::SpatialStructureType::Object , gf::SpatialStructureType::Node } |
A type of spatial structure. More... | |
enum class | gf::SpatialQuery { gf::SpatialQuery::Contain , gf::SpatialQuery::Intersect } |
A kind of spatial query. More... | |
Spatial indexes.
using gf::SpatialQueryCallback = typedef std::function<void(Handle)> |
A callback for spatial query.
enum gf::SpatialId : std::size_t |
A spatial id.
A spatial id refers to an object in a spatial index.
|
strong |
|
strong |
A type of spatial structure.
Enumerator | |
---|---|
Object | The structure represents an actuel object. |
Node | The structure represents an internal node. |