DGtal 1.3.0
|
Aim: The predicate returns true when the point is within the given bounds. More...
#include <DGtal/kernel/BasicPointPredicates.h>
Public Types | |
typedef TPoint | Point |
Public Member Functions | |
IsWithinPointPredicate (const Point &lowerBound, const Point &upperBound) | |
bool | operator() (const Point &p) const |
Data Fields | |
Point | myLowerBound |
the upper bound. More... | |
Point | myUpperBound |
the lower bound. More... | |
Aim: The predicate returns true when the point is within the given bounds.
Description of template class 'IsWithinPointPredicate'
TPoint | any point type |
Definition at line 175 of file BasicPointPredicates.h.
typedef TPoint DGtal::functors::IsWithinPointPredicate< TPoint >::Point |
Definition at line 177 of file BasicPointPredicates.h.
DGtal::functors::IsWithinPointPredicate< TPoint >::IsWithinPointPredicate | ( | const Point & | lowerBound, |
const Point & | upperBound | ||
) |
Constructor from lower bound and upper bound.
bool DGtal::functors::IsWithinPointPredicate< TPoint >::operator() | ( | const Point & | p | ) | const |
p | any point. |
Point DGtal::functors::IsWithinPointPredicate< TPoint >::myLowerBound |
the upper bound.
Definition at line 192 of file BasicPointPredicates.h.
Point DGtal::functors::IsWithinPointPredicate< TPoint >::myUpperBound |
the lower bound.
Definition at line 194 of file BasicPointPredicates.h.