DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions
DGtal::detail::TangentVectorFromDSS< DSS > Struct Template Reference

#include <SegmentComputerEstimators.h>

Inheritance diagram for DGtal::detail::TangentVectorFromDSS< DSS >:
Inheritance graph
[legend]

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 755 of file SegmentComputerEstimators.h.


Member Typedef Documentation

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

Definition at line 758 of file SegmentComputerEstimators.h.


Member Function Documentation

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.
Template Parameters:
DSSa model of segment computer, which must have methods getA() and getB() returning the y- and x-component of the tangent vector.

Definition at line 772 of file SegmentComputerEstimators.h.

{
return Value(aDSS.getB(), aDSS.getA());
}

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