DGtal  0.9.3beta
Public Types | Public Member Functions | Data Fields
DGtal::functors::EqualPointPredicate< TPoint > Struct Template Reference

#include <DGtal/kernel/BasicPointPredicates.h>

Collaboration diagram for DGtal::functors::EqualPointPredicate< TPoint >:
[legend]

Public Types

typedef TPoint Point
 

Public Member Functions

 EqualPointPredicate (const Point &aPoint)
 
bool operator() (const Point &p) const
 

Data Fields

Point myPoint
 

Detailed Description

template<typename TPoint>
struct DGtal::functors::EqualPointPredicate< TPoint >

Aim: The predicate returns true when the point given as argument equals the reference point given at construction.

Description of template class 'EqualPointPredicate'

Template Parameters
TPointpoint type.

Definition at line 238 of file BasicPointPredicates.h.

Member Typedef Documentation

template<typename TPoint >
typedef TPoint DGtal::functors::EqualPointPredicate< TPoint >::Point

Definition at line 240 of file BasicPointPredicates.h.

Constructor & Destructor Documentation

template<typename TPoint >
DGtal::functors::EqualPointPredicate< TPoint >::EqualPointPredicate ( const Point aPoint)

Constructor from a point.

Member Function Documentation

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

Field Documentation

template<typename TPoint >
Point DGtal::functors::EqualPointPredicate< TPoint >::myPoint

Reference point.

Definition at line 254 of file BasicPointPredicates.h.


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