VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkMathUtilities Namespace Reference

Functions

template<class A >
bool FuzzyCompare (A a, A b)
 
template<class A >
bool FuzzyCompare (A a, A b, A epsilon)
 

Function Documentation

template<class A >
bool vtkMathUtilities::FuzzyCompare ( a,
b 
)

Perform a fuzzy compare of floats/doubles.

Definition at line 41 of file vtkMathUtilities.h.

template<class A >
bool vtkMathUtilities::FuzzyCompare ( a,
b,
epsilon 
)

Perform a fuzzy compare of floats/doubles, specify the allowed tolerance

Definition at line 51 of file vtkMathUtilities.h.