Geophysical Inversion and Modelling Library v1.5.4
Loading...
Searching...
No Matches
KDTree::_Region< __K, _Val, _SubVal, _Acc, _Cmp > Struct Template Reference

Public Types

typedef _Val value_type
 
typedef _SubVal subvalue_type
 
typedef std::pair< _Region, _SubVal > _CenterPt
 

Public Member Functions

 _Region (_Acc const &__acc=_Acc(), const _Cmp &__cmp=_Cmp())
 
template<typename Val>
 _Region (Val const &__V, _Acc const &__acc=_Acc(), const _Cmp &__cmp=_Cmp())
 
template<typename Val>
 _Region (Val const &__V, subvalue_type const &__R, _Acc const &__acc=_Acc(), const _Cmp &__cmp=_Cmp())
 
bool intersects_with (_CenterPt const &__THAT) const
 
bool intersects_with (_Region const &__THAT) const
 
bool encloses (value_type const &__V) const
 
_Regionset_high_bound (value_type const &__V, size_t const __L)
 
_Regionset_low_bound (value_type const &__V, size_t const __L)
 

Public Attributes

subvalue_type _M_low_bounds [__K]
 
subvalue_type _M_high_bounds [__K]
 
_Acc _M_acc
 
_Cmp _M_cmp