File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/config/TeX-MML-AM_CHTML/MathJax.js
DGtal 2.0.0
DGtal::detail::CurvatureFromDCA< false > Struct Reference

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

Inheritance diagram for DGtal::detail::CurvatureFromDCA< false >:
[legend]

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

typedef double DGtal::detail::CurvatureFromDCA< false >::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: