DGtal  1.5.beta
COrientationFunctor2.h
1 
17 #pragma once
18 
31 #if defined(COrientationFunctor2_RECURSES)
32 #error Recursive header files inclusion detected in COrientationFunctor2.h
33 #else // defined(COrientationFunctor2_RECURSES)
35 #define COrientationFunctor2_RECURSES
36 
37 #if !defined COrientationFunctor2_h
39 #define COrientationFunctor2_h
40 
42 // Inclusions
43 #include <iostream>
44 #include "DGtal/base/Common.h"
45 
46 #include "DGtal/geometry/tools/determinant/COrientationFunctor.h"
48 
49 namespace DGtal
50 {
51  namespace concepts
52  {
54  // class COrientationFunctor2
83  template <typename T>
85  {
86  // ----------------------- Concept checks ------------------------------
87  public:
88 
90  {
91  myX.init( myA, myB );
92  }
93  // ------------------------- Private Datas --------------------------------
94  private:
95  T myX;
96  typename T::Point myA, myB;
97 
98  }; // end of concept COrientationFunctor2
99  }
100 } // namespace DGtal
101 
102 // //
104 
105 #endif // !defined COrientationFunctor2_h
106 
107 #undef COrientationFunctor2_RECURSES
108 #endif // else defined(COrientationFunctor2_RECURSES)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: This concept is a refinement of COrientationFunctor, useful for simple algebraic curves that can...
Aim: This concept gathers models implementing an orientation test of points in a space of dimension ...
MyPointD Point
Definition: testClone2.cpp:383