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

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

#include <DGtal/kernel/BasicPointPredicates.h>

Public Types

typedef TPoint Point
 

Public Member Functions

 IsUpperPointPredicate (const Point &lowerBound)
 
bool operator() (const Point &p) const
 

Data Fields

Point myLowerBound
 the lower bound. More...
 

Detailed Description

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

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

Description of template class 'IsUpperPointPredicate'

Template Parameters
TPointany point type

Definition at line 147 of file BasicPointPredicates.h.

Member Typedef Documentation

◆ Point

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

Definition at line 149 of file BasicPointPredicates.h.

Constructor & Destructor Documentation

◆ IsUpperPointPredicate()

template<typename TPoint >
DGtal::functors::IsUpperPointPredicate< TPoint >::IsUpperPointPredicate ( const Point lowerBound)

Constructor from lower bound.

Member Function Documentation

◆ operator()()

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

Field Documentation

◆ myLowerBound

template<typename TPoint >
Point DGtal::functors::IsUpperPointPredicate< TPoint >::myLowerBound

the lower bound.

Definition at line 163 of file BasicPointPredicates.h.


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