vgl_tolerance.hxx
Go to the documentation of this file.
1 #ifndef vgl_tolerance_hxx_
2 #define vgl_tolerance_hxx_
3 
4 #include <cmath>
5 #include <limits>
6 #include "vgl_tolerance.h"
7 
8 #ifdef _MSC_VER
9 # include <vcl_msvc_warnings.h>
10 #endif
11 
12 //! \file
13 
14 
15 template <typename T>
16 const T vgl_tolerance<T>::point_3d_coplanarity = (T)std::sqrt(1.0f*std::numeric_limits<T>::epsilon());
17 
18 template <typename T>
19 const T vgl_tolerance<T>::position = std::numeric_limits<T>::epsilon();
20 
21 
22 
23 
24 #undef VGL_TOLERANCE_INSTANTIATE
25 #define VGL_TOLERANCE_INSTANTIATE(T) \
26 template class vgl_tolerance<T >
27 
28 #endif