sandbox
Loading...
Searching...
No Matches
sbx::containers::octree< Type, Threshold, Depth > Class Template Reference

Classes

struct  inside_result
 
struct  intersection
 

Public Types

using value_type = Type
 
using reference = value_type &
 
using const_reference = const value_type &
 

Public Member Functions

 octree (const math::volume &bounds) noexcept
 
auto insert (const value_type &value, const math::volume &bounds) noexcept -> void
 
auto intersections () -> std::vector< intersection >
 
auto inside (const math::box &box) -> std::vector< inside_result >
 
auto clear () -> void
 
template<typename Fn >
requires (std::is_invocable_v<Fn, const math::volume&>)
auto for_each_volume (Fn &&fn) -> void
 

The documentation for this class was generated from the following file: