DGtal  0.9.4beta
Public Types | Public Member Functions
DGtal::functors::ConstantPointPredicate< TPoint, boolCst > Struct Template Reference

#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

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

Definition at line 72 of file BasicPointPredicates.h.

Member Function Documentation

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: