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

#include <morton_fwd.hh>

Public Member Functions

 tree_cell ()=default
 
 tree_cell (const morton_type &_code, uint64_t _level)
 
void fix_code ()
 
bool check_overlap (const tree_cell &y) const
 
bool contains (const morton_type &c) const
 
bool contains (const tree_cell &other) const
 
template<typename T >
bool contains (const AABB< T > &other) const
 
template<typename T >
interval_type< T > to_interval (const T &data) const
 
interval_type< aether::monostateto_interval () const
 
template<typename T >
region_type< T > to_region (const T &data) const
 
region_type< aether::monostateto_region () const
 
aabb_type to_aabb () const
 
size_t side_length (const size_t dim) const
 
bool operator== (const tree_cell &other) const
 
bool operator< (const tree_cell &other) const
 
size_t get_level () const
 
morton_type get_corner () const
 
morton_type get_far_corner () const
 
uint64_t get_distance_squared (const morton_type &m) const
 
template<typename SD >
void serde_visit (SD &sd)
 
template<typename T >
auto to_interval (const T &data) const -> interval_type< T >
 
template<typename T >
auto to_region (const T &data) const -> region_type< T >
 

Public Attributes

morton_type code
 
uint64_t level
 

Static Public Attributes

static constexpr size_t dimension = morton_type::dimension
 

Constructor & Destructor Documentation

template<typename MortonCode >
aether::morton::tree_cell< MortonCode >::tree_cell ( )
default
template<typename MortonCode >
aether::morton::tree_cell< MortonCode >::tree_cell ( const morton_type &  _code,
uint64_t  _level 
)
inline

Member Function Documentation

template<typename MortonCode >
bool aether::morton::tree_cell< MortonCode >::check_overlap ( const tree_cell< MortonCode > &  y) const
template<typename MortonCode >
bool aether::morton::tree_cell< MortonCode >::contains ( const morton_type &  c) const
template<typename MortonCode >
bool aether::morton::tree_cell< MortonCode >::contains ( const tree_cell< MortonCode > &  other) const
template<typename MortonCode >
template<typename T >
bool aether::morton::tree_cell< MortonCode >::contains ( const AABB< T > &  other) const
template<typename MortonCode >
void aether::morton::tree_cell< MortonCode >::fix_code ( )
template<typename MortonCode >
auto aether::morton::tree_cell< MortonCode >::get_corner ( ) const
template<typename MortonCode >
uint64_t aether::morton::tree_cell< MortonCode >::get_distance_squared ( const morton_type &  m) const
template<typename MortonCode >
auto aether::morton::tree_cell< MortonCode >::get_far_corner ( ) const
template<typename MortonCode >
size_t aether::morton::tree_cell< MortonCode >::get_level ( ) const
template<typename MortonCode >
bool aether::morton::tree_cell< MortonCode >::operator< ( const tree_cell< MortonCode > &  other) const
template<typename MortonCode >
bool aether::morton::tree_cell< MortonCode >::operator== ( const tree_cell< MortonCode > &  other) const
template<typename MortonCode >
template<typename SD >
void aether::morton::tree_cell< MortonCode >::serde_visit ( SD &  sd)
template<typename MortonCode >
size_t aether::morton::tree_cell< MortonCode >::side_length ( const size_t  dim) const
template<typename MortonCode >
auto aether::morton::tree_cell< MortonCode >::to_aabb ( ) const
template<typename MortonCode >
template<typename T >
interval_type<T> aether::morton::tree_cell< MortonCode >::to_interval ( const T &  data) const
template<typename MortonCode >
auto aether::morton::tree_cell< MortonCode >::to_interval ( ) const
template<typename MortonCode >
template<typename T >
auto aether::morton::tree_cell< MortonCode >::to_interval ( const T &  data) const -> interval_type<T>
template<typename MortonCode >
template<typename T >
region_type<T> aether::morton::tree_cell< MortonCode >::to_region ( const T &  data) const
template<typename MortonCode >
auto aether::morton::tree_cell< MortonCode >::to_region ( ) const
template<typename MortonCode >
template<typename T >
auto aether::morton::tree_cell< MortonCode >::to_region ( const T &  data) const -> region_type<T>

Member Data Documentation

template<typename MortonCode >
morton_type aether::morton::tree_cell< MortonCode >::code
template<typename MortonCode >
constexpr size_t aether::morton::tree_cell< MortonCode >::dimension = morton_type::dimension
static
template<typename MortonCode >
uint64_t aether::morton::tree_cell< MortonCode >::level