DGtal 1.3.0
|
Aim: The predicate returns true when the predicate returns true for the value assigned to a given point in the point functor. More...
#include <DGtal/kernel/BasicPointPredicates.h>
Public Types | |
typedef TPointFunctor | PointFunctor |
typedef TPredicate | Predicate |
typedef PointFunctor::Point | Point |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CPointFunctor< TPointFunctor >)) | |
BOOST_CONCEPT_ASSERT ((concepts::CUnaryFunctor< TPredicate, typename TPointFunctor::Value, bool >)) | |
PointFunctorPredicate (ConstAlias< PointFunctor > aFun, ConstAlias< Predicate > aPred) | |
bool | operator() (const Point &p) const |
Data Fields | |
const PointFunctor * | myFun |
alias of the PointFunctor. More... | |
const Predicate * | myPred |
alias of the predicate. More... | |
Aim: The predicate returns true when the predicate returns true for the value assigned to a given point in the point functor.
Description of template class 'PointFunctorPredicate'
TPointFunctor | a model of CPointFunctor. |
TPredicate | a type of predicate on values (model of CPredicate) |
Definition at line 370 of file BasicPointPredicates.h.
typedef PointFunctor::Point DGtal::functors::PointFunctorPredicate< TPointFunctor, TPredicate >::Point |
Definition at line 377 of file BasicPointPredicates.h.
typedef TPointFunctor DGtal::functors::PointFunctorPredicate< TPointFunctor, TPredicate >::PointFunctor |
Definition at line 375 of file BasicPointPredicates.h.
typedef TPredicate DGtal::functors::PointFunctorPredicate< TPointFunctor, TPredicate >::Predicate |
Definition at line 376 of file BasicPointPredicates.h.
DGtal::functors::PointFunctorPredicate< TPointFunctor, TPredicate >::PointFunctorPredicate | ( | ConstAlias< PointFunctor > | aFun, |
ConstAlias< Predicate > | aPred | ||
) |
Constructor from an PointFunctor and a predicate
aFun | an point functor. |
aPred | a predicate. |
DGtal::functors::PointFunctorPredicate< TPointFunctor, TPredicate >::BOOST_CONCEPT_ASSERT | ( | (concepts::CPointFunctor< TPointFunctor >) | ) |
DGtal::functors::PointFunctorPredicate< TPointFunctor, TPredicate >::BOOST_CONCEPT_ASSERT | ( | (concepts::CUnaryFunctor< TPredicate, typename TPointFunctor::Value, bool >) | ) |
bool DGtal::functors::PointFunctorPredicate< TPointFunctor, TPredicate >::operator() | ( | const Point & | p | ) | const |
p | any point. |
const PointFunctor* DGtal::functors::PointFunctorPredicate< TPointFunctor, TPredicate >::myFun |
alias of the PointFunctor.
Definition at line 393 of file BasicPointPredicates.h.
const Predicate* DGtal::functors::PointFunctorPredicate< TPointFunctor, TPredicate >::myPred |
alias of the predicate.
Definition at line 395 of file BasicPointPredicates.h.