34 #if defined(ParametricShapeTangentFunctor_RECURSES)
35 #error Recursive header files inclusion detected in ParametricShapeTangentFunctor.h
36 #else // defined(ParametricShapeTangentFunctor_RECURSES)
38 #define ParametricShapeTangentFunctor_RECURSES
40 #if !defined ParametricShapeTangentFunctor_h
42 #define ParametricShapeTangentFunctor_h
47 #include "DGtal/base/Common.h"
62 template <
typename TParametricShape>
138 #endif // !defined ParametricShapeTangentFunctor_h
140 #undef ParametricShapeTangentFunctor_RECURSES
141 #endif // else defined(ParametricShapeTangentFunctor_RECURSES)
~ParametricShapeTangentFunctor()=default
Aim: implements a functor that computes the tangent vector at a given point of a parametric shape.
ParametricShapeTangentFunctor & operator=(const ParametricShapeTangentFunctor &other)=delete
TParametricShape::RealPoint Quantity
Type of the functor output.
TParametricShape ParametricShape
Type of parametric shape.
const ParametricShape & myShape
Reference of the implicit shape.
Quantity operator()(const RealPoint &aPoint) const
DGtal is the top-level namespace which contains all DGtal functions and types.
ParametricShapeTangentFunctor()=delete
TParametricShape::RealPoint RealPoint
Type of points.
ParametricShapeTangentFunctor(const ParametricShape &aShape)