DGtal 1.3.0
Loading...
Searching...
No Matches
CImplicitFunction.h
1
17#pragma once
18
31#if defined(CImplicitFunction_RECURSES)
32#error Recursive header files inclusion detected in CImplicitFunction.h
33#else // defined(CImplicitFunction_RECURSES)
35#define CImplicitFunction_RECURSES
36
37#if !defined CImplicitFunction_h
39#define CImplicitFunction_h
40
42// Inclusions
43#include <iostream>
44#include "DGtal/base/Common.h"
46
47namespace DGtal
48{
49 namespace concepts
50 {
52 // class CImplicitFunction
88 template <typename T>
90 {
91 // ----------------------- Concept checks ------------------------------
92 public:
93 // 1. define first provided types (i.e. inner types), like
94 typedef typename T::RealPoint RealPoint;
95 typedef typename T::Value Value;
96 // possibly check these types so as to satisfy a concept with
98
99 }; // end of concept CImplicitFunction
100 }
101} // namespace DGtal
102
103// //
105
106#endif // !defined CImplicitFunction_h
107
108#undef CImplicitFunction_RECURSES
109#endif // else defined(CImplicitFunction_RECURSES)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Describes any function of the form f(x), where x is some real point in the given space,...
BOOST_CONCEPT_ASSERT((boost::UnaryFunction< T, Value, RealPoint >))
Go to http://www.sgi.com/tech/stl/UnaryFunction.html.
Definition: Boost.dox:73