Ponca  aa50bfdf187919869239c5b44b748842569114c1
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::ConstantWeightKernel< _Scalar > Class Template Reference

Concept::WeightKernelConcept returning a constant value. More...

#include <weightKernel.h>

+ Inheritance diagram for Ponca::ConstantWeightKernel< _Scalar >:
+ Collaboration diagram for Ponca::ConstantWeightKernel< _Scalar >:

Public Types

typedef _Scalar Scalar
 Scalar type defined outside the class.
 

Public Member Functions

 ConstantWeightKernel (const Scalar &_value=Scalar(1.))
 Default constructor that could be used to set the returned value.
 
void setValue (const Scalar &_value)
 Set the returned value.
 
Scalar f (const Scalar &) const
 Return the constant value.
 
Scalar df (const Scalar &) const
 Return \( 0 \).
 
Scalar ddf (const Scalar &) const
 Return \( 0 \).
 

Static Public Attributes

static constexpr bool isDValid = true
 df is defined and valid on the definition interval
 
static constexpr bool isDDValid = true
 ddf is defined and valid on the definition interval
 

Detailed Description

template<typename _Scalar>
class Ponca::ConstantWeightKernel< _Scalar >

Concept::WeightKernelConcept returning a constant value.

Definition at line 24 of file weightKernel.h.

Member Typedef Documentation

◆ Scalar

template<typename _Scalar >
typedef _Scalar Ponca::ConstantWeightKernel< _Scalar >::Scalar

Scalar type defined outside the class.

Definition at line 28 of file weightKernel.h.

Constructor & Destructor Documentation

◆ ConstantWeightKernel()

template<typename _Scalar >
Ponca::ConstantWeightKernel< _Scalar >::ConstantWeightKernel ( const Scalar _value = Scalar(1.))
inline

Default constructor that could be used to set the returned value.

Definition at line 32 of file weightKernel.h.

Member Function Documentation

◆ ddf()

template<typename _Scalar >
Scalar Ponca::ConstantWeightKernel< _Scalar >::ddf ( const Scalar ) const
inline

Return \( 0 \).

Definition at line 42 of file weightKernel.h.

◆ df()

template<typename _Scalar >
Scalar Ponca::ConstantWeightKernel< _Scalar >::df ( const Scalar ) const
inline

Return \( 0 \).

Definition at line 40 of file weightKernel.h.

◆ f()

template<typename _Scalar >
Scalar Ponca::ConstantWeightKernel< _Scalar >::f ( const Scalar ) const
inline

Return the constant value.

Definition at line 38 of file weightKernel.h.

◆ setValue()

template<typename _Scalar >
void Ponca::ConstantWeightKernel< _Scalar >::setValue ( const Scalar _value)
inline

Set the returned value.

Definition at line 34 of file weightKernel.h.

Member Data Documentation

◆ isDDValid

template<typename _Scalar >
constexpr bool Ponca::ConstantWeightKernel< _Scalar >::isDDValid = true
staticconstexpr

ddf is defined and valid on the definition interval

Definition at line 47 of file weightKernel.h.

◆ isDValid

template<typename _Scalar >
constexpr bool Ponca::ConstantWeightKernel< _Scalar >::isDValid = true
staticconstexpr

df is defined and valid on the definition interval

Definition at line 45 of file weightKernel.h.