DGtal 0.3.0
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:
TPointany point type
boolCstany boolean value

Definition at line 62 of file BasicPointPredicates.h.


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:
pany point.
Returns:
the value of the predicate at this point.

The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines