DGtal  1.5.beta
DGtal::functors::ConstantPointPredicate< TPoint, boolCst > Struct Template Reference

Aim: The predicate that returns always the same value boolCst. More...

#include <DGtal/kernel/BasicPointPredicates.h>

Inheritance diagram for DGtal::functors::ConstantPointPredicate< TPoint, boolCst >:
[legend]

Public Types

typedef TPoint Point
 

Public Member Functions

bool operator() (const Point &p) const
 

Detailed Description

template<typename TPoint, bool boolCst>
struct DGtal::functors::ConstantPointPredicate< TPoint, boolCst >

Aim: The predicate that returns always the same value boolCst.

Description of template class 'ConstantPointPredicate'

Template Parameters
TPointany point type
boolCstany boolean value

Definition at line 70 of file BasicPointPredicates.h.

Member Typedef Documentation

◆ Point

template<typename TPoint , bool boolCst>
typedef TPoint DGtal::functors::ConstantPointPredicate< TPoint, boolCst >::Point

Definition at line 72 of file BasicPointPredicates.h.

Member Function Documentation

◆ operator()()

template<typename TPoint , bool boolCst>
bool DGtal::functors::ConstantPointPredicate< TPoint, boolCst >::operator() ( const Point p) const
Parameters
pany point.
Returns
the value of the predicate at this point.

The documentation for this struct was generated from the following file: