File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/config/TeX-MML-AM_CHTML/MathJax.js
DGtal 1.4.2
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
DGtal::detail::CurvatureFromDCA< false > Struct Reference

#include <DGtal/geometry/curves/estimation/SegmentComputerEstimators.h>

Public Types

typedef double Value
 

Public Member Functions

template<typename DCA >
Value operator() (const DCA &aDCA, const Value &aH=1.0) const
 

Detailed Description

Definition at line 811 of file SegmentComputerEstimators.h.

Member Typedef Documentation

◆ Value

Definition at line 814 of file SegmentComputerEstimators.h.

Member Function Documentation

◆ operator()()

template<typename DCA >
Value DGtal::detail::CurvatureFromDCA< false >::operator() ( const DCA & aDCA,
const Value & aH = 1.0 ) const
inline

Definition at line 817 of file SegmentComputerEstimators.h.

818 {
819 if ( aDCA.isStraight() )
820 return 0.0;
821 else
822 return - ( aDCA.getSeparatingCircle().getCurvature() / aH );
823 }

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