Public Types | Public Member Functions | Data Fields

DGtal::NotPointPredicate< TPointPredicate > Struct Template Reference

Aim: The predicate returns true when the point is within the given bounds. More...

#include <BasicPointPredicates.h>

Inheritance diagram for DGtal::NotPointPredicate< TPointPredicate >:
Inheritance graph
[legend]

Public Types

typedef TPointPredicate PointPredicate
typedef PointPredicate::Point Point

Public Member Functions

 NotPointPredicate (const PointPredicate &pred)
bool operator() (const Point &p) const

Data Fields

const PointPredicatemyPred

Detailed Description

template<typename TPointPredicate>
struct DGtal::NotPointPredicate< TPointPredicate >

Aim: The predicate returns true when the point is within the given bounds.

Description of template class 'NotPointPredicate'

Template Parameters:
TPointPredicate the predicate type.

Member Typedef Documentation

template<typename TPointPredicate>
typedef PointPredicate::Point DGtal::NotPointPredicate< TPointPredicate >::Point
template<typename TPointPredicate>
typedef TPointPredicate DGtal::NotPointPredicate< TPointPredicate >::PointPredicate

Constructor & Destructor Documentation

template<typename TPointPredicate>
DGtal::NotPointPredicate< TPointPredicate >::NotPointPredicate ( const PointPredicate pred  ) 

Constructor from predicates and bool Functor.


Member Function Documentation

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

Field Documentation

template<typename TPointPredicate>
const PointPredicate& DGtal::NotPointPredicate< TPointPredicate >::myPred

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