31 #if defined(ContourHelper_RECURSES)
32 #error Recursive header files inclusion detected in ContourHelper.h
35 #define ContourHelper_RECURSES
37 #if !defined ContourHelper_h
39 #define ContourHelper_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/kernel/PointVector.h"
71 template <
typename TPo
int>
83 template <
typename TPo
int>
102 template <
typename TIterator,
typename TOutputIterator>
185 #include "DGtal/geometry/helpers/ContourHelper.ih"
192 #undef ContourHelper_RECURSES
Aim: a helper class to process sequences of points.
static DGtal::PointVector< TPoint::dimension, double > getBarycenter(const std::vector< TPoint > &aSet)
ContourHelper & operator=(const ContourHelper &other)
static void pixels2pixels8C(const TIterator &itb, const TIterator &ite, TOutputIterator out)
ContourHelper(const ContourHelper &other)
static bool isCounterClockWise(const std::vector< TPoint > &aCurve)
void selfDisplay(std::ostream &out) const
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)