VTK
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  a,
A  b 
)

Perform a fuzzy compare of floats/doubles.

Definition at line 41 of file vtkMathUtilities.h.

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

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

Definition at line 51 of file vtkMathUtilities.h.