DGtal
1.5.beta
|
#include <DGtal/geometry/curves/estimation/SegmentComputerEstimators.h>
Public Types | |
typedef DGtal::PointVector< 2, double > | RealVector |
typedef RealVector | Value |
Public Member Functions | |
template<typename DSS > | |
Value | operator() (const DSS &aDSS) const |
Description of class 'NormalizedTangentVectorFromDSS'
Aim: computes the unit vector of a DSS
Definition at line 715 of file SegmentComputerEstimators.h.
typedef DGtal::PointVector<2,double> DGtal::detail::NormalizedTangentVectorFromDSS::RealVector |
Definition at line 718 of file SegmentComputerEstimators.h.
Definition at line 719 of file SegmentComputerEstimators.h.
|
inline |
Operator()
aDSS | an instance of segment computer devoted to the DSS recognition. |
DSS | a model of segment computer, which must have methods a() and b() returning the y- and x-component of the tangent vector. |
Definition at line 734 of file SegmentComputerEstimators.h.
References DGtal::NumberTraitsImpl< std::decay< T >::type >::castToDouble(), and DGtal::PointVector< 2, double >::L_2.