33#if defined(ParametricShapeCurvatureFunctor_RECURSES)
34#error Recursive header files inclusion detected in ParametricShapeCurvatureFunctor.h
37#define ParametricShapeCurvatureFunctor_RECURSES
39#if !defined ParametricShapeCurvatureFunctor_h
41#define ParametricShapeCurvatureFunctor_h
46#include "DGtal/base/Common.h"
64 template <
typename TParametricShape>
75 typedef typename TParametricShape::RealPoint
RealPoint;
141#undef ParametricShapeCurvatureFunctor_RECURSES
Aim: implements a functor that computes the curvature at a given point of a parametric shape.
~ParametricShapeCurvatureFunctor()=default
TParametricShape ParametricShape
Type of parametric shape.
ParametricShapeCurvatureFunctor & operator=(const ParametricShapeCurvatureFunctor &other)=delete
double Quantity
Type of the functor output.
ParametricShapeCurvatureFunctor(const ParametricShape &aShape)
TParametricShape::RealPoint RealPoint
Type of points.
ParametricShapeCurvatureFunctor()=delete
Quantity operator()(const RealPoint &aPoint) const
const ParametricShape & myShape
Reference of the implicit shape.
DGtal is the top-level namespace which contains all DGtal functions and types.