DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions
DGtal::CPointFunctor< T > Struct Template Reference

#include <CPointFunctor.h>

Inheritance diagram for DGtal::CPointFunctor< T >:
Inheritance graph
[legend]

Public Types

typedef T::Point Point
typedef T::Value Value

Public Member Functions

 BOOST_CONCEPT_ASSERT ((CUnaryFunctor< T, Point, Value >))

Detailed Description

template<typename T>
struct DGtal::CPointFunctor< T >

Aim: Defines a functor on points.

Description of concept 'CPointFunctor'

 Associates values to points.

Refinement of CUnaryFunctor

Associated types :

- Point : specifies the type for a point (inner type).
- Value : specifies the type for a value (inner type).

Notation

Definitions

Valid expressions and

Name Expression Type requirements Return type Precondition Semantics Postcondition Complexity
Apply function x( p ) v the value of the function x at point p

Invariants

Models

- Shapes and images are models of (refinements of) this concept  

Notes

Definition at line 107 of file CPointFunctor.h.


Member Typedef Documentation

template<typename T>
typedef T::Point DGtal::CPointFunctor< T >::Point

Definition at line 111 of file CPointFunctor.h.

template<typename T>
typedef T::Value DGtal::CPointFunctor< T >::Value

Definition at line 112 of file CPointFunctor.h.


Member Function Documentation

template<typename T>
DGtal::CPointFunctor< T >::BOOST_CONCEPT_ASSERT ( (CUnaryFunctor< T, Point, Value >)  )

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