OpenWalnut
1.4.0
|
implements the compare function for std::nth_element on a point array More...
#include <WKdTree.h>
Public Member Functions | |
lessy (float const *const data, const int pos) | |
constructor | |
bool | operator() (const unsigned int &lhs, const unsigned int &rhs) const |
comparison operator less | |
Public Attributes | |
float const *const | data |
stores the pointer to the data array | |
const int | pos |
stores the axis at which the array is sorted |
implements the compare function for std::nth_element on a point array
lessy::lessy | ( | float const *const | data, |
const int | pos | ||
) | [inline] |
bool lessy::operator() | ( | const unsigned int & | lhs, |
const unsigned int & | rhs | ||
) | const [inline] |
float const* const lessy::data |
stores the pointer to the data array
Definition at line 38 of file WKdTree.h.
Referenced by operator()().
const int lessy::pos |
stores the axis at which the array is sorted
Definition at line 39 of file WKdTree.h.
Referenced by operator()().