Public Types | Public Member Functions

DGtal::ConstantPointPredicate< TPoint, boolCst > Struct Template Reference

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

#include <BasicPointPredicates.h>

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

Public Types

typedef TPoint Point

Public Member Functions

bool operator() (const Point &p) const

Detailed Description

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

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

Description of template class 'ConstantPointPredicate'

Template Parameters:
TPoint any point type
boolCst any boolean value

Member Typedef Documentation

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

Member Function Documentation

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

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