Point Cloud Library (PCL)  1.11.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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

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().

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

Utility function to eliminate unused variable warnings.

Definition at line 62 of file utils.h.

Referenced by pcl::assignNormalWeights(), pcl::getMeanPointDensity(), and pcl::OrganizedMultiPlaneSegmentation< pcl::PointXYZRGBA, pcl::pcl::Normal, pcl::pcl::Label >::refine().