DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
CPointFunctor.h
1
16
17
#pragma once
18
29
30
#if defined(CPointFunctor_RECURSES)
31
#error Recursive header files inclusion detected in CPointFunctor.h
32
#else
// defined(CPointFunctor_RECURSES)
34
#define CPointFunctor_RECURSES
35
36
#if !defined CPointFunctor_h
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 Data --------------------------------
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
Aim: Gathers several functions useful for concept checks.
Definition
CPositiveIrreducibleFraction.h:54
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
DGtal::concepts::CPointFunctor
Aim: Defines a functor on points.
Definition
CPointFunctor.h:89
DGtal::concepts::CPointFunctor::Point
T::Point Point
Definition
CPointFunctor.h:92
DGtal::concepts::CPointFunctor::Value
T::Value Value
Definition
CPointFunctor.h:93
DGtal::concepts::CUnaryFunctor
Aim: Defines a unary functor, which associates arguments to results.
Definition
CUnaryFunctor.h:90
src
DGtal
kernel
CPointFunctor.h
Generated on
for DGtal by
1.18.0