DGtal 2.0.0
Loading...
Searching...
No Matches
UnaryFunctor Struct Reference

Public Member Functions

 UnaryFunctor (double c)
template<typename Point>
double operator() (Point const &pt) const

Data Fields

double cst

Detailed Description

Definition at line 96 of file testConstImageFunctorHolder.cpp.

Constructor & Destructor Documentation

◆ UnaryFunctor()

UnaryFunctor::UnaryFunctor ( double c)
inlineexplicit

Definition at line 99 of file testConstImageFunctorHolder.cpp.

References cst.

Member Function Documentation

◆ operator()()

template<typename Point>
double UnaryFunctor::operator() ( Point const & pt) const
inline

Definition at line 102 of file testConstImageFunctorHolder.cpp.

103 {
104 return unary_kernel(pt, 0, cst);
105 }

References cst.

Field Documentation

◆ cst

double UnaryFunctor::cst

Definition at line 98 of file testConstImageFunctorHolder.cpp.

Referenced by operator()(), and UnaryFunctor().


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