DGtal 0.3.0
Public Types | Public Member Functions | Data Fields

DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 > Struct Template Reference

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

#include <BasicPointPredicates.h>

Public Types

typedef TPointPredicate1 PointPredicate1
typedef TPointPredicate2 PointPredicate2
typedef PointPredicate1::Point Point
typedef PointPredicate2::Point Point2

Public Member Functions

 BinaryPointPredicate (const PointPredicate1 &pred1, const PointPredicate2 &pred2, const BoolFunction2 &boolFunctor)
bool operator() (const Point &p) const

Data Fields

const PointPredicate1myPred1
const PointPredicate2myPred2
BoolFunction2 myBoolFunctor

Detailed Description

template<typename TPointPredicate1, typename TPointPredicate2>
struct DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 >

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

Description of template class 'BinaryPointPredicate'

Template Parameters:
PointPredicate1the left predicate type.
PointPredicate2the right predicate type.

Definition at line 222 of file BasicPointPredicates.h.


Member Typedef Documentation

template<typename TPointPredicate1 , typename TPointPredicate2 >
typedef PointPredicate1::Point DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 >::Point

Definition at line 226 of file BasicPointPredicates.h.

template<typename TPointPredicate1 , typename TPointPredicate2 >
typedef PointPredicate2::Point DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 >::Point2

Definition at line 228 of file BasicPointPredicates.h.

template<typename TPointPredicate1 , typename TPointPredicate2 >
typedef TPointPredicate1 DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 >::PointPredicate1

Definition at line 224 of file BasicPointPredicates.h.

template<typename TPointPredicate1 , typename TPointPredicate2 >
typedef TPointPredicate2 DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 >::PointPredicate2

Definition at line 225 of file BasicPointPredicates.h.


Constructor & Destructor Documentation

template<typename TPointPredicate1 , typename TPointPredicate2 >
DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 >::BinaryPointPredicate ( const PointPredicate1 pred1,
const PointPredicate2 pred2,
const BoolFunction2 boolFunctor 
)

Constructor from predicates and bool Functor.


Member Function Documentation

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

Field Documentation

template<typename TPointPredicate1 , typename TPointPredicate2 >
BoolFunction2 DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 >::myBoolFunctor

Definition at line 245 of file BasicPointPredicates.h.

template<typename TPointPredicate1 , typename TPointPredicate2 >
const PointPredicate1& DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 >::myPred1

Definition at line 243 of file BasicPointPredicates.h.

template<typename TPointPredicate1 , typename TPointPredicate2 >
const PointPredicate2& DGtal::BinaryPointPredicate< TPointPredicate1, TPointPredicate2 >::myPred2

Definition at line 244 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