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

Public Member Functions

 BinaryFunctor (double c)
template<typename Point, typename Domain>
double operator() (Point const &pt, Domain const &d) const

Data Fields

double cst

Detailed Description

Definition at line 109 of file testConstImageFunctorHolder.cpp.

Constructor & Destructor Documentation

◆ BinaryFunctor()

BinaryFunctor::BinaryFunctor ( double c)
inlineexplicit

Definition at line 112 of file testConstImageFunctorHolder.cpp.

References cst.

Member Function Documentation

◆ operator()()

template<typename Point, typename Domain>
double BinaryFunctor::operator() ( Point const & pt,
Domain const & d ) const
inline

Definition at line 115 of file testConstImageFunctorHolder.cpp.

116 {
117 return binary_kernel(pt, d, cst);
118 }

References cst.

Field Documentation

◆ cst

double BinaryFunctor::cst

Definition at line 111 of file testConstImageFunctorHolder.cpp.

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


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