OpenMS  2.7.0
Public Types | Public Member Functions | Public Attributes | List of all members
_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()

bool encloses ( value_type const &  __V) const
inline

◆ intersects_with() [1/2]

bool intersects_with ( _CenterPt const &  __THAT) const
inline

◆ intersects_with() [2/2]

bool intersects_with ( _Region< __K, _Val, _SubVal, _Acc, _Cmp > const &  __THAT) const
inline

◆ set_high_bound()

_Region& set_high_bound ( value_type const &  __V,
size_t const  __L 
)
inline

◆ set_low_bound()

_Region& set_low_bound ( value_type const &  __V,
size_t const  __L 
)
inline

Member Data Documentation

◆ _M_acc

_Acc _M_acc

◆ _M_cmp

_Cmp _M_cmp

◆ _M_high_bounds

subvalue_type _M_high_bounds[__K]

◆ _M_low_bounds

subvalue_type _M_low_bounds[__K]