DGtal 1.3.0
|
Aim: The predicate returns true when the point given as argument equals the reference point given at construction. More...
#include <DGtal/kernel/BasicPointPredicates.h>
Public Types | |
typedef TPoint | Point |
Public Member Functions | |
EqualPointPredicate (const Point &aPoint) | |
bool | operator() (const Point &p) const |
Data Fields | |
Point | myPoint |
Reference point. More... | |
Aim: The predicate returns true when the point given as argument equals the reference point given at construction.
Description of template class 'EqualPointPredicate'
TPoint | point type. |
Definition at line 238 of file BasicPointPredicates.h.
typedef TPoint DGtal::functors::EqualPointPredicate< TPoint >::Point |
Definition at line 240 of file BasicPointPredicates.h.
DGtal::functors::EqualPointPredicate< TPoint >::EqualPointPredicate | ( | const Point & | aPoint | ) |
Constructor from a point.
bool DGtal::functors::EqualPointPredicate< TPoint >::operator() | ( | const Point & | p | ) | const |
p | any point. |
Point DGtal::functors::EqualPointPredicate< TPoint >::myPoint |
Reference point.
Definition at line 254 of file BasicPointPredicates.h.