DGtal  1.5.beta
DGtal::concepts::CPointPredicate< T > Struct Template Reference

Aim: Defines a predicate on a point. More...

#include <DGtal/kernel/CPointPredicate.h>

Inheritance diagram for DGtal::concepts::CPointPredicate< T >:
[legend]

Public Types

typedef T::Point Point
 
- Public Types inherited from DGtal::concepts::CPredicate< T, T::Point >
typedef T::Point Element
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((CUnaryFunctor< T, Point, bool >))
 
- Public Member Functions inherited from DGtal::concepts::CUnaryFunctor< X, A, R >
 BOOST_CONCEPT_USAGE (CUnaryFunctor)
 

Detailed Description

template<typename T>
struct DGtal::concepts::CPointPredicate< T >

Aim: Defines a predicate on a point.

Description of concept 'CPointPredicate'

Associates booleans to points.

Refinement of

CPredicate

Associated types

  • Point : specifies the type for an element of the domain (inner type).

Models

  • basic models: ConstantPointPredicate, TruePointPredicate, FalsePointPredicate, IsUpperPointPredicate, IsLowerPointPredicate, IsWithinPointPredicate
  • complex predicate constructor: BinaryPointPredicate
  • others: DomainPredicate, SetPredicate, IntervalForegroundPredicate, SimpleThresholdForegroundPredicate
  • all models of CDigitalSet are models of CPointPredicate: DigitalSetBySTLVector, DigitalSetBySTLMap, DigitalSetFromMap

Notes

Examples
dec/exampleDECSurface.cpp.

Definition at line 80 of file CPointPredicate.h.

Member Typedef Documentation

◆ Point

template<typename T >
typedef T::Point DGtal::concepts::CPointPredicate< T >::Point

Definition at line 84 of file CPointPredicate.h.

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT()

template<typename T >
DGtal::concepts::CPointPredicate< T >::BOOST_CONCEPT_ASSERT ( (CUnaryFunctor< T, Point, bool >)  )

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