DGtal
0.6.devel
|
#include <ParametricShapeCurvatureFunctor.h>
Public Types | |
typedef TParametricShape | ParametricShape |
typedef TParametricShape::RealPoint | RealPoint |
typedef double | Quantity |
Public Member Functions | |
ParametricShapeCurvatureFunctor () | |
ParametricShapeCurvatureFunctor (ParametricShape *aShape) | |
~ParametricShapeCurvatureFunctor () | |
ParametricShapeCurvatureFunctor & | operator= (const ParametricShapeCurvatureFunctor &other) |
Quantity | operator() (const RealPoint &aPoint) |
Private Attributes | |
ParametricShape * | myShape |
Aim: implements a functor that computes the curvature at a given point of a parametric shape.
Description of template class 'ParametricShapeCurvatureFunctor'
TParametricShape | a model of parametric shape. |
Definition at line 65 of file ParametricShapeCurvatureFunctor.h.
typedef TParametricShape DGtal::ParametricShapeCurvatureFunctor< TParametricShape >::ParametricShape |
Type of parametric shape.
Definition at line 72 of file ParametricShapeCurvatureFunctor.h.
typedef double DGtal::ParametricShapeCurvatureFunctor< TParametricShape >::Quantity |
Type of the functor output.
Definition at line 78 of file ParametricShapeCurvatureFunctor.h.
typedef TParametricShape::RealPoint DGtal::ParametricShapeCurvatureFunctor< TParametricShape >::RealPoint |
Type of points.
Definition at line 75 of file ParametricShapeCurvatureFunctor.h.
|
inline |
Constructor. Forbidden by default (protected to avoid g++ warnings).
Definition at line 84 of file ParametricShapeCurvatureFunctor.h.
|
inline |
Constructor.
aShape | the input shape. |
Definition at line 92 of file ParametricShapeCurvatureFunctor.h.
|
inline |
|
inline |
Computes the curvature at [aPoint]
aPoint | the point at which the curvature is computed. |
Definition at line 123 of file ParametricShapeCurvatureFunctor.h.
References DGtal::ParametricShapeCurvatureFunctor< TParametricShape >::myShape.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 110 of file ParametricShapeCurvatureFunctor.h.
References DGtal::ParametricShapeCurvatureFunctor< TParametricShape >::myShape.
|
private |
Copy of the implicit shape.
Definition at line 136 of file ParametricShapeCurvatureFunctor.h.
Referenced by DGtal::ParametricShapeCurvatureFunctor< TParametricShape >::operator()(), and DGtal::ParametricShapeCurvatureFunctor< TParametricShape >::operator=().