Eigen::KdBVH< Scalar_, Dim_, _Object >::VectorComparator Struct Reference

Public Member Functions

bool operator() (const VIPair &v1, const VIPair &v2) const
 
 VectorComparator (int inDim)
 

Public Attributes

int dim
 

Detailed Description

template<typename Scalar_, int Dim_, typename _Object>
struct Eigen::KdBVH< Scalar_, Dim_, _Object >::VectorComparator

Definition at line 176 of file KdBVH.h.

Constructor & Destructor Documentation

◆ VectorComparator()

template<typename Scalar_ , int Dim_, typename _Object >
Eigen::KdBVH< Scalar_, Dim_, _Object >::VectorComparator::VectorComparator ( int  inDim)
inline

Definition at line 178 of file KdBVH.h.

178 : dim(inDim) {}

Member Function Documentation

◆ operator()()

template<typename Scalar_ , int Dim_, typename _Object >
bool Eigen::KdBVH< Scalar_, Dim_, _Object >::VectorComparator::operator() ( const VIPair v1,
const VIPair v2 
) const
inline

Definition at line 179 of file KdBVH.h.

179 { return v1.first[dim] < v2.first[dim]; }
Map< RowVectorXf > v2(M2.data(), M2.size())
M1<< 1, 2, 3, 4, 5, 6, 7, 8, 9;Map< RowVectorXf > v1(M1.data(), M1.size())

Member Data Documentation

◆ dim

template<typename Scalar_ , int Dim_, typename _Object >
int Eigen::KdBVH< Scalar_, Dim_, _Object >::VectorComparator::dim

Definition at line 180 of file KdBVH.h.


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