DGtal 1.4.0
|
#include <DGtal/geometry/curves/estimation/SegmentComputerEstimators.h>
Public Types | |
typedef std::pair< double, double > | Value |
Public Member Functions | |
template<typename DCA > | |
Value | operator() (const typename DCA::ConstIterator &it, const DCA &aDCA, const double &aH) const |
Description of class 'DistanceFromDCA'
Aim: estimates the distance of a given pair of points to the separating circle of a DCA.
Definition at line 925 of file SegmentComputerEstimators.h.
typedef std::pair<double,double> DGtal::detail::DistanceFromDCA::Value |
Definition at line 928 of file SegmentComputerEstimators.h.
|
inline |
Operator()
it | position where the estimation has to be done |
aDCA | an instance of segment computer devoted to the DCA recognition. |
aH | grid step |
DCA | a model of segment computer devoted to the DCA recognition, basically geometricDCA. |
Definition at line 947 of file SegmentComputerEstimators.h.
References DGtal::NumberTraitsImpl< std::decay< T >::type >::castToDouble().