implements the compare function for std::nth_element on a point array
More...
#include <WKdTree.h>
|
float const *const | data |
| stores the pointer to the data array More...
|
|
const int | pos |
| stores the axis at which the array is sorted More...
|
|
implements the compare function for std::nth_element on a point array
Definition at line 36 of file WKdTree.h.
lessy::lessy |
( |
float const *const |
data, |
|
|
const int |
pos |
|
) |
| |
|
inline |
constructor
- Parameters
-
data | pointer to the array |
pos | x,y or z axis |
Definition at line 46 of file WKdTree.h.
bool lessy::operator() |
( |
const unsigned int & |
lhs, |
|
|
const unsigned int & |
rhs |
|
) |
| const |
|
inline |
comparison operator less
- Parameters
-
- Returns
- is lhs smaller than rhs
Definition at line 57 of file WKdTree.h.
References pos.
float const* const lessy::data |
stores the pointer to the data array
Definition at line 38 of file WKdTree.h.
The documentation for this struct was generated from the following file: