libnabo
1.1.2
|
Functor to compare point values on a given dimension. More...
#include <nabo_private.h>
Public Member Functions | |
CompareDim (const CloudType &cloud, const size_t dim) | |
Build the functor for a specific dimension on a specific cloud. | |
bool | operator() (const BuildPoint &p0, const BuildPoint &p1) |
Compare the values of p0 and p1 on dim, and return whether p0[dim] < p1[dim]. | |
Public Attributes | |
const CloudType & | cloud |
reference to data points used to compare | |
size_t | dim |
dimension on which to compare | |
Functor to compare point values on a given dimension.