31#if defined(Point2ScalarFunctors_RECURSES)
32#error Recursive header files inclusion detected in Point2ScalarFunctors.h
35#define Point2ScalarFunctors_RECURSES
37#if !defined Point2ScalarFunctors_h
39#define Point2ScalarFunctors_h
44#include "DGtal/base/Common.h"
54 template <
typename TPo
int,
typename TScalar>
72 for (
typename Point::ConstIterator it = p.begin(), itE = p.end(); it != itE; ++it )
74 if ( d >=
myR2 )
return 0.0;
84 template <
typename TPo
int,
typename TScalar>
100 for (
typename Point::ConstIterator it = p.begin(), itE = p.end(); it != itE; ++it )
112#include "DGtal/kernel/Point2ScalarFunctors.ih"
119#undef Point2ScalarFunctors_RECURSES
DGtal is the top-level namespace which contains all DGtal functions and types.
BallConstantPointFunction(Scalar v0, Scalar r)
Scalar operator()(const Point &p) const
HatPointFunction(Scalar v0, Scalar r)
Scalar operator()(const Point &p) const