31 #if defined(SetPredicate_RECURSES)
32 #error Recursive header files inclusion detected in SetPredicate.h
33 #else // defined(SetPredicate_RECURSES)
35 #define SetPredicate_RECURSES
37 #if !defined SetPredicate_h
39 #define SetPredicate_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/base/ConstAlias.h"
46 #include "DGtal/kernel/BasicPointPredicates.h"
54 namespace deprecated {
72 template <
typename TDigitalSet>
78 typedef typename DigitalSet::Domain
Domain;
131 #include "DGtal/kernel/sets/SetPredicate.ih"
136 #endif // !defined SetPredicate_h
138 #undef SetPredicate_RECURSES
139 #endif // else defined(SetPredicate_RECURSES)
DigitalSet::Domain Domain
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
bool operator()(const Point &p) const
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: The predicate returning true iff the point is in the set given at construction. The set given at construction is aliased in the predicate and not cloned, which means that the lifetime of the set should exceed the lifetime of the predicate.
SetPredicate & operator=(const SetPredicate &other)