aether::morton::AABB< MortonCode > Struct Template Reference

#include <morton_fwd.hh>

Classes

class  interval_iterator
 
struct  intervals_range
 

Public Types

using morton_type = MortonCode
 
using interval_type = morton::detail::interval< morton_type >
 

Public Member Functions

 AABB (const morton_type &_min, const morton_type &_max)
 
bool contains (const AABB &rhs) const
 
bool is_morton_aligned () const
 
aether::optional< tree_cell< morton_type > > to_cell () const
 
void dilate (uint32_t radius)
 
bool contains (const morton_type &position) const
 
std::vector< tree_cell< morton_type > > to_cells () const
 
region< morton_typeto_region () const
 
intervals_range to_intervals_range () const
 
std::pair< morton_type, morton_typemorton_get_next_address () const
 

Public Attributes

morton_type min
 
morton_type max
 

Static Public Attributes

static constexpr size_t dimension = morton_type::dimension
 

Friends

bool operator== (const AABB &lhs, const AABB &rhs)
 

Member Typedef Documentation

template<typename MortonCode >
using aether::morton::AABB< MortonCode >::interval_type = morton::detail::interval<morton_type>
template<typename MortonCode >
using aether::morton::AABB< MortonCode >::morton_type = MortonCode

Constructor & Destructor Documentation

template<typename MortonCode >
aether::morton::AABB< MortonCode >::AABB ( const morton_type _min,
const morton_type _max 
)
inline

Member Function Documentation

template<typename MortonCode >
bool aether::morton::AABB< MortonCode >::contains ( const AABB< MortonCode > &  rhs) const
template<typename MortonCode >
bool aether::morton::AABB< MortonCode >::contains ( const morton_type position) const
inline
template<typename MortonCode >
void aether::morton::AABB< MortonCode >::dilate ( uint32_t  radius)
template<typename MortonCode >
bool aether::morton::AABB< MortonCode >::is_morton_aligned ( ) const
template<typename MortonCode >
std::pair< MortonCode, MortonCode > aether::morton::AABB< MortonCode >::morton_get_next_address ( ) const
template<typename MortonCode >
auto aether::morton::AABB< MortonCode >::to_cell ( ) const
template<typename MortonCode >
auto aether::morton::AABB< MortonCode >::to_cells ( ) const
template<typename MortonCode >
auto aether::morton::AABB< MortonCode >::to_intervals_range ( ) const
template<typename MortonCode >
region< MortonCode > aether::morton::AABB< MortonCode >::to_region ( ) const

Friends And Related Function Documentation

template<typename MortonCode >
bool operator== ( const AABB< MortonCode > &  lhs,
const AABB< MortonCode > &  rhs 
)
friend

Member Data Documentation

template<typename MortonCode >
constexpr size_t aether::morton::AABB< MortonCode >::dimension = morton_type::dimension
static
template<typename MortonCode >
morton_type aether::morton::AABB< MortonCode >::max
template<typename MortonCode >
morton_type aether::morton::AABB< MortonCode >::min