aether::collision::detector< D > Class Template Reference

#include <collision_detector.hh>

Public Member Functions

 detector ()
 
void clear ()
 
void reserve (const size_t num_objects)
 
void add_object (const std::pair< point_type, point_type > &aabb)
 
void add_object (const point_type &lower, const point_type &upper)
 
collision_result do_detection ()
 
size_t num_objects () const
 

Static Public Attributes

static constexpr size_t dimension = D
 

Constructor & Destructor Documentation

template<size_t D>
aether::collision::detector< D >::detector ( )
inline

Member Function Documentation

template<size_t D>
void aether::collision::detector< D >::add_object ( const std::pair< point_type, point_type > &  aabb)
inline
template<size_t D>
void aether::collision::detector< D >::add_object ( const point_type &  lower,
const point_type &  upper 
)
inline
template<size_t D>
void aether::collision::detector< D >::clear ( )
inline
template<size_t D>
collision_result aether::collision::detector< D >::do_detection ( )
template<size_t D>
size_t aether::collision::detector< D >::num_objects ( ) const
inline
template<size_t D>
void aether::collision::detector< D >::reserve ( const size_t  num_objects)
inline

Member Data Documentation

template<size_t D>
constexpr size_t aether::collision::detector< D >::dimension = D
static