Gamedev Framework (gf)  0.14.0
A C++14 framework for 2D games
Public Attributes | List of all members
gf::SpatialStructure< U, N > Struct Template Reference

A spatial structure. More...

#include <gf/Spatial.h>

Public Attributes

Box< U, Nbounds
 The bounds of the structure. More...
 
SpatialStructureType type
 The type of the structure. More...
 
int level
 The level of the structure. More...
 

Detailed Description

template<typename U, std::size_t N>
struct gf::SpatialStructure< U, N >

A spatial structure.

A spatial structure reflects the internal states of a spatial index.

See also
gf::QuadTree, gf::RStarTree

Member Data Documentation

◆ bounds

template<typename U , std::size_t N>
Box<U, N> gf::SpatialStructure< U, N >::bounds

The bounds of the structure.

◆ level

template<typename U , std::size_t N>
int gf::SpatialStructure< U, N >::level

The level of the structure.

◆ type

template<typename U , std::size_t N>
SpatialStructureType gf::SpatialStructure< U, N >::type

The type of the structure.