DGtal 1.3.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions
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

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: