DGtal  1.5.beta
DGtal::detail::TangentVectorFromDSS< DSS > Struct Template Reference

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

Public Types

typedef DSS::Vector Value
 

Public Member Functions

Value operator() (const DSS &aDSS) const
 

Detailed Description

template<typename DSS>
struct DGtal::detail::TangentVectorFromDSS< DSS >

Description of class 'TangentVectorFromDSS'

Aim: computes the tangent vector of a DSS

Definition at line 751 of file SegmentComputerEstimators.h.

Member Typedef Documentation

◆ Value

template<typename DSS >
typedef DSS::Vector DGtal::detail::TangentVectorFromDSS< DSS >::Value

Definition at line 754 of file SegmentComputerEstimators.h.

Member Function Documentation

◆ operator()()

template<typename DSS >
Value DGtal::detail::TangentVectorFromDSS< DSS >::operator() ( const DSS &  aDSS) const
inline

Operator()

Returns
tangent vector
Parameters
aDSSan instance of segment computer devoted to the DSS recognition.

Definition at line 765 of file SegmentComputerEstimators.h.

766  {
767  return Value(aDSS.b(), aDSS.a());
768  }

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