DGtal  1.4.beta
DGtal::concepts::CPointFunctor< T > Struct Template Reference

Aim: Defines a functor on points. More...

#include <DGtal/kernel/CPointFunctor.h>

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

Public Types

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

Additional Inherited Members

- Public Member Functions inherited from DGtal::concepts::CUnaryFunctor< T, T::Point, T::Value >
 BOOST_CONCEPT_USAGE (CUnaryFunctor)
 

Detailed Description

template<typename T>
struct DGtal::concepts::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 semantics

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

Invariants

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

Notes

Definition at line 88 of file CPointFunctor.h.

Member Typedef Documentation

◆ Point

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

Definition at line 92 of file CPointFunctor.h.

◆ Value

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

Definition at line 93 of file CPointFunctor.h.


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