DGtal 1.3.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
DGtal::functors::IsLowerPointPredicate< TPoint > Struct Template Reference

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

#include <DGtal/kernel/BasicPointPredicates.h>

Public Types

typedef TPoint Point
 

Public Member Functions

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

Data Fields

Point myUpperBound
 the upper bound. More...
 

Detailed Description

template<typename TPoint>
struct DGtal::functors::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
TPointany point type

Definition at line 118 of file BasicPointPredicates.h.

Member Typedef Documentation

◆ Point

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

Definition at line 120 of file BasicPointPredicates.h.

Constructor & Destructor Documentation

◆ IsLowerPointPredicate()

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

Constructor from upper bound.

Member Function Documentation

◆ operator()()

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

Field Documentation

◆ myUpperBound

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

the upper bound.

Definition at line 134 of file BasicPointPredicates.h.


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