37 #if defined(FPLengthEstimator_RECURSES)
38 #error Recursive header files inclusion detected in FPLengthEstimator.h
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"
163 #undef FPLengthEstimator_RECURSES
Aim: a model of CGlobalCurveEstimator that computes the length of a digital curve using its FP (faith...
FPLengthEstimator()=default
FPLengthEstimator & operator=(const FPLengthEstimator &other)=delete
FP< ConstIterator, int, 4 > FaithfulPolygon
void selfDisplay(std::ostream &out) const
Quantity eval(const ConstIterator &itb, const ConstIterator &ite, const double h=1.) const
FPLengthEstimator(const FPLengthEstimator &other)=delete
TConstIterator ConstIterator
FaithfulPolygon::Point Point
FaithfulPolygon::Vector Vector
~FPLengthEstimator()=default
Aim: Computes the faithful polygon (FP) of a range of 4/8-connected 2D Points.
Aim: Implements basic operations that will be used in Point and Vector classes.
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)