DGtal
1.3.beta
src
DGtal
kernel
CPointFunctor.h
1
17
#pragma once
18
30
#if defined(CPointFunctor_RECURSES)
31
#error Recursive header files inclusion detected in CPointFunctor.h
32
#else // defined(CPointFunctor_RECURSES)
33
34
#define CPointFunctor_RECURSES
35
36
#if !defined CPointFunctor_h
37
38
#define CPointFunctor_h
39
41
// Inclusions
42
#include <iostream>
43
#include "DGtal/base/Common.h"
44
#include "DGtal/base/CUnaryFunctor.h"
46
47
namespace
DGtal
48
{
49
namespace
concepts
50
{
52
// class CPointFunctor
87
template
<
typename
T>
88
struct
CPointFunctor
:
CUnaryFunctor
<T, typename T::Point, typename T::Value>
89
{
90
// ----------------------- Concept checks ------------------------------
91
public
:
92
typedef
typename
T::Point
Point
;
93
typedef
typename
T::Value
Value
;
94
95
// ------------------------- Private Datas --------------------------------
96
private
:
97
// ------------------------- Internals ------------------------------------
98
private
:
99
100
};
// end of concept CPointFunctor
101
}
102
}
// namespace DGtal
103
104
// //
106
107
#endif // !defined CPointFunctor_h
108
109
#undef CPointFunctor_RECURSES
110
#endif // else defined(CPointFunctor_RECURSES)
DGtal::concepts::CPointFunctor::Point
T::Point Point
Definition:
CPointFunctor.h:92
DGtal::concepts::CPointFunctor::Value
T::Value Value
Definition:
CPointFunctor.h:93
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
DGtal::concepts::CPointFunctor
Aim: Defines a functor on points.
Definition:
CPointFunctor.h:88
Point
MyPointD Point
Definition:
testClone2.cpp:383
DGtal::concepts::CUnaryFunctor
Aim: Defines a unary functor, which associates arguments to results.
Definition:
CUnaryFunctor.h:89
Value
double Value
Definition:
testSimpleRandomAccessRangeFromPoint.cpp:38
Generated on Thu May 19 2022 18:08:07 for DGtal by
1.8.17