DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions
DGtal::ConstantPointPredicate< TPoint, boolCst > Struct Template Reference

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

Definition at line 41 of file BasicPointPredicates.ih.

{
return boolCst;
}

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