Point Cloud Library (PCL)  1.14.0-dev
Functions
pcl::utils Namespace Reference

Functions

template<typename T >
bool equal (T val1, T val2, T eps=std::numeric_limits< T >::min())
 Check if val1 and val2 are equal to an epsilon extent. More...
 
template<typename ... T>
void ignore (const T &...)
 Utility function to eliminate unused variable warnings. More...
 

Function Documentation

◆ equal()

template<typename T >
bool pcl::utils::equal ( val1,
val2,
eps = std::numeric_limits<T>::min () 
)

Check if val1 and val2 are equal to an epsilon extent.

Parameters
[in]val1first number to check
[in]val2second number to check
[in]epsepsilon
Returns
true if val1 is equal to val2, false otherwise.

Definition at line 55 of file utils.h.

Referenced by pcl::ShapeContext3DEstimation< PointInT, PointNT, PointOutT >::computePoint(), and pcl::UniqueShapeContext< PointInT, PointOutT, PointRFT >::computePointDescriptor().

◆ ignore()

template<typename ... T>
void pcl::utils::ignore ( const T &  ...)