DGtal 0.3.0
Public Types | Public Member Functions | Data Fields

DGtal::IsUpperPointPredicate< TPoint > Struct Template Reference

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

#include <BasicPointPredicates.h>

Public Types

typedef TPoint Point

Public Member Functions

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

Data Fields

Point myLowerBound

Detailed Description

template<typename TPoint>
struct DGtal::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 139 of file BasicPointPredicates.h.


Member Typedef Documentation

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

Definition at line 141 of file BasicPointPredicates.h.


Constructor & Destructor Documentation

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

Constructor from lower bound.


Member Function Documentation

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

Field Documentation

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

Definition at line 153 of file BasicPointPredicates.h.


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines