37 #if defined(FPLengthEstimator_RECURSES)
38 #error Recursive header files inclusion detected in FPLengthEstimator.h
39 #else // defined(FPLengthEstimator_RECURSES)
41 #define FPLengthEstimator_RECURSES
43 #if !defined FPLengthEstimator_h
45 #define FPLengthEstimator_h
50 #include "DGtal/base/Common.h"
51 #include "DGtal/geometry/curves/FP.h"
68 template <
typename TConstIterator>
124 const double h = 1. )
const;
147 template <
typename T>
156 #include "DGtal/geometry/curves/estimation/FPLengthEstimator.ih"
161 #endif // !defined FPLengthEstimator_h
163 #undef FPLengthEstimator_RECURSES
164 #endif // else defined(FPLengthEstimator_RECURSES)
Quantity eval(const ConstIterator &itb, const ConstIterator &ite, const double h=1.) const
FP< ConstIterator, int, 4 > FaithfulPolygon
void selfDisplay(std::ostream &out) const
FPLengthEstimator & operator=(const FPLengthEstimator &other)=delete
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
TConstIterator ConstIterator
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Computes the faithful polygon (FP) of a range of 4/8-connected 2D Points.
FaithfulPolygon::Vector Vector
FPLengthEstimator()=default
Aim: Implements basic operations that will be used in Point and Vector classes.
Aim: a model of CGlobalCurveEstimator that computes the length of a digital curve using its FP (faith...
FaithfulPolygon::Point Point
~FPLengthEstimator()=default