| VTK
    9.0.1
    | 
#include <cmath>#include <limits>Go to the source code of this file.
| Namespaces | |
| vtkMathUtilities | |
| Functions | |
| template<class A > | |
| bool | vtkMathUtilities::FuzzyCompare (A a, A b) | 
| Perform a fuzzy compare of floats/doubles.  More... | |
| template<class A > | |
| bool | vtkMathUtilities::FuzzyCompare (A a, A b, A epsilon) | 
| Perform a fuzzy compare of floats/doubles, specify the allowed tolerance.  More... | |
| template<class A > | |
| A | vtkMathUtilities::SafeDivision (A a, A b) | 
| Performs safe division that catches overflow and underflow.  More... | |
| template<class A > | |
| bool | vtkMathUtilities::NearlyEqual (A a, A b, A tol=std::numeric_limits< A >::epsilon()) | 
| A slightly different fuzzy comparator that checks if two values are "nearly" equal based on Knuth, "The Art of Computer Programming (vol II)".  More... | |
 1.8.17
 1.8.17