OpenMS
_Region< __K, _Val, _SubVal, _Acc, _Cmp > Struct Template Reference

#include <OpenMS/DATASTRUCTURES/KDTree.h>

Collaboration diagram for _Region< __K, _Val, _SubVal, _Acc, _Cmp >:
[legend]

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
 

Member Typedef Documentation

◆ _CenterPt

typedef std::pair<_Region,_SubVal> _CenterPt

◆ subvalue_type

typedef _SubVal subvalue_type

◆ value_type

typedef _Val value_type

Constructor & Destructor Documentation

◆ _Region() [1/3]

_Region ( _Acc const &  __acc = _Acc(),
const _Cmp &  __cmp = _Cmp() 
)
inline

◆ _Region() [2/3]

_Region ( Val const &  __V,
_Acc const &  __acc = _Acc(),
const _Cmp &  __cmp = _Cmp() 
)
inline

◆ _Region() [3/3]

_Region ( Val const &  __V,
subvalue_type const &  __R,
_Acc const &  __acc = _Acc(),
const _Cmp &  __cmp = _Cmp() 
)
inline

Member Function Documentation

◆ encloses()

◆ intersects_with() [1/2]

◆ intersects_with() [2/2]

◆ set_high_bound()

◆ set_low_bound()

Member Data Documentation

◆ _M_acc

◆ _M_cmp

◆ _M_high_bounds

◆ _M_low_bounds