vgl_tolerance.h
Go to the documentation of this file.
1 #ifndef vgl_tolerance_h_
2 #define vgl_tolerance_h_
3 
4 //! \file
5 // \author Kieran O'Mahony
6 // \date 21 August 2007
7 // \brief Tolerances used throughout vgl when performing comparisons
8 #include <vgl/vgl_export.h>
9 #include <vcl_compiler_detection.h>
10 
11 template <typename T>
13 {
14  public:
15  //! Tolerance for judging 4 points to be coplanar
16  static VGL_EXPORT const T point_3d_coplanarity;
17 
18  //! Tolerance for judging positions to be equal
19  static VGL_EXPORT const T position;
20 };
21 
22 extern template class vgl_tolerance<double>;
23 extern template class vgl_tolerance<float>;
24 extern template class vgl_tolerance<int>;
25 extern template class vgl_tolerance<unsigned int>;
26 
27 #endif
static VGL_EXPORT const T point_3d_coplanarity
Tolerance for judging 4 points to be coplanar.
Definition: vgl_tolerance.h:16
static VGL_EXPORT const T position
Tolerance for judging positions to be equal.
Definition: vgl_tolerance.h:19