aether::netcode::spatial_index< Store > Class Template Reference

#include <spatial_index.hh>

Public Member Functions

 spatial_index (entity_store &_store)
 
bool update_entity (const entity_handle &handle)
 
bool drop_entity (const entity_handle &handle)
 
void commit ()
 
std::vector< entity_handle > find_entities_approximate (const aether::vec3f &position, const double radius) const
 
std::vector< entity_handle > find_entities_exact (const aether::vec3f &position, const double radius) const
 
const entity_store & get_store () const
 

Constructor & Destructor Documentation

template<typename Store>
aether::netcode::spatial_index< Store >::spatial_index ( entity_store &  _store)
inline

Member Function Documentation

template<typename Store>
void aether::netcode::spatial_index< Store >::commit ( )
inline
template<typename Store>
bool aether::netcode::spatial_index< Store >::drop_entity ( const entity_handle &  handle)
inline
template<typename Store>
std::vector<entity_handle> aether::netcode::spatial_index< Store >::find_entities_approximate ( const aether::vec3f &  position,
const double  radius 
) const
inline
template<typename Store>
std::vector<entity_handle> aether::netcode::spatial_index< Store >::find_entities_exact ( const aether::vec3f &  position,
const double  radius 
) const
inline
template<typename Store>
const entity_store& aether::netcode::spatial_index< Store >::get_store ( ) const
inline
template<typename Store>
bool aether::netcode::spatial_index< Store >::update_entity ( const entity_handle &  handle)
inline