Public Types | Public Member Functions | Data Fields

DGtal::IsLowerPointPredicate< TPoint > Struct Template Reference

Aim: The predicate returns true when the point is below (or equal) the given upper bound. More...

#include <BasicPointPredicates.h>

Public Types

typedef TPoint Point

Public Member Functions

 IsLowerPointPredicate (const Point &upperBound)
bool operator() (const Point &p) const

Data Fields

Point myUpperBound

Detailed Description

template<typename TPoint>
struct DGtal::IsLowerPointPredicate< TPoint >

Aim: The predicate returns true when the point is below (or equal) the given upper bound.

Description of template class 'IsLowerPointPredicate'

Template Parameters:
TPoint any point type

Member Typedef Documentation

template<typename TPoint >
typedef TPoint DGtal::IsLowerPointPredicate< TPoint >::Point

Constructor & Destructor Documentation

template<typename TPoint >
DGtal::IsLowerPointPredicate< TPoint >::IsLowerPointPredicate ( const Point upperBound  ) 

Constructor from upper bound.


Member Function Documentation

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

Field Documentation

template<typename TPoint >
Point DGtal::IsLowerPointPredicate< TPoint >::myUpperBound

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