DGtal  1.5.beta
CDigitalMetricSpace.h
1 
17 #pragma once
18 
31 #if defined(CDigitalMetricSpace_RECURSES)
32 #error Recursive header files inclusion detected in CDigitalMetricSpace.h
33 #else // defined(CDigitalMetricSpace_RECURSES)
35 #define CDigitalMetricSpace_RECURSES
36 
37 #if !defined CDigitalMetricSpace_h
39 #define CDigitalMetricSpace_h
40 
42 // Inclusions
43 #include <iostream>
44 #include "DGtal/base/Common.h"
45 #include "DGtal/kernel/CInteger.h"
46 #include "DGtal/geometry/volumes/distance/CMetricSpace.h"
48 
49 namespace DGtal
50 {
51  namespace concepts
52  {
53 
55 // class CDigitalMetricSpace
97  template <typename T>
99  {
100  // ----------------------- Concept checks ------------------------------
101  public:
102  typedef typename T::Point Point;
103  typedef typename T::Space Space;
104  typedef typename T::Value Value;
105  typedef typename T::RawValue RawValue;
106 
109 
110 
111  // ------------------------- Internals ------------------------------------
112  private:
113 
114  }; // end of concept CDigitalMetricSpace
115 
116 } // namespace concepts
117 
118 } // namespace DGtal
119 
120 // //
122 
123 #endif // !defined CDigitalMetricSpace_h
124 
125 #undef CDigitalMetricSpace_RECURSES
126 #endif // else defined(CDigitalMetricSpace_RECURSES)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: defines the concept of digital metric spaces.
BOOST_CONCEPT_ASSERT((CInteger< Value >))
BOOST_CONCEPT_ASSERT((CInteger< RawValue >))
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
Definition: CInteger.h:88
Aim: defines the concept of metric spaces.
Definition: CMetricSpace.h:125
MyPointD Point
Definition: testClone2.cpp:383