DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::deprecated::ConstantConvolutionWeights< TDistance > Class Template Reference

Aim: implement a trivial constant convolution kernel which returns 1 to each distance. More...

#include <DGtal/geometry/surfaces/estimation/BasicConvolutionWeights.h>

Public Types

typedef TDistance Distance
 Inner type.
 

Public Member Functions

double operator() (const Distance &) const
 

Detailed Description

template<typename TDistance>
class DGtal::deprecated::ConstantConvolutionWeights< TDistance >

Aim: implement a trivial constant convolution kernel which returns 1 to each distance.

Description of template class 'ConstantConvolutionWeights'

Warning
moved to deprecated since 0.7. Please consider using LocalEstimatorFromFunctorAdapter.
Template Parameters
TDistancetype for topological distances.

Definition at line 67 of file BasicConvolutionWeights.h.

Member Typedef Documentation

◆ Distance

template<typename TDistance >
typedef TDistance DGtal::deprecated::ConstantConvolutionWeights< TDistance >::Distance

Inner type.

Definition at line 73 of file BasicConvolutionWeights.h.

Member Function Documentation

◆ operator()()

template<typename TDistance >
double DGtal::deprecated::ConstantConvolutionWeights< TDistance >::operator() ( const Distance & ) const
inline
Returns
1.0 whatever the distance is.

Definition at line 80 of file BasicConvolutionWeights.h.

81 {
82 return 1.0;
83 }

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