libnabo  1.0.6
Public Member Functions | Public Attributes | List of all members
Nabo::KDTreeBalancedPtInNodesStackOpenCL< T, CloudType >::CompareDim Struct Reference

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 CloudTypecloud
 reference to data points used to compare
 
size_t dim
 dimension on which to compare
 

Detailed Description

template<typename T, typename CloudType = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>>
struct Nabo::KDTreeBalancedPtInNodesStackOpenCL< T, CloudType >::CompareDim

Functor to compare point values on a given dimension.


The documentation for this struct was generated from the following file: