DGtal 1.4.0
|
Aim: implements a functor that estimates the arc length of a paramtric curve. More...
#include <DGtal/geometry/curves/estimation/ParametricShapeArcLengthFunctor.h>
Public Types | |
typedef TParametricShape | ParametricShape |
Type of parametric shape. | |
typedef TParametricShape::RealPoint | RealPoint |
Type of const iterator on points. | |
typedef double | Quantity |
Type of the functor output. | |
Public Member Functions | |
ParametricShapeArcLengthFunctor ()=delete | |
ParametricShapeArcLengthFunctor (const ParametricShape &aShape) | |
~ParametricShapeArcLengthFunctor ()=default | |
ParametricShapeArcLengthFunctor & | operator= (const ParametricShapeArcLengthFunctor &other)=delete |
Quantity | operator() (const RealPoint &aFirstPoint, const RealPoint &aSecondPoint) const |
Quantity | operator() () const |
Private Attributes | |
const ParametricShape & | myShape |
Reference of the implicit shape. | |
Aim: implements a functor that estimates the arc length of a paramtric curve.
Description of template class 'ParametricShapeArcLengthFunctor'
TParametricShape | a model of parametric shape. |
Definition at line 64 of file ParametricShapeArcLengthFunctor.h.
typedef TParametricShape DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::ParametricShape |
Type of parametric shape.
Definition at line 71 of file ParametricShapeArcLengthFunctor.h.
typedef double DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::Quantity |
Type of the functor output.
Definition at line 77 of file ParametricShapeArcLengthFunctor.h.
typedef TParametricShape::RealPoint DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::RealPoint |
Type of const iterator on points.
Definition at line 74 of file ParametricShapeArcLengthFunctor.h.
|
delete |
Constructor.
|
inline |
Constructor.
aShape | the input shape. |
Definition at line 89 of file ParametricShapeArcLengthFunctor.h.
|
default |
Destructor.
|
inline |
Compute the total length
Definition at line 134 of file ParametricShapeArcLengthFunctor.h.
References DGtal::PointVector< 3, double >::L_infty, and DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::myShape.
|
inline |
Compute the arc length between two points.
aFirstPoint | the first point |
aSecondPoint | the second point |
Definition at line 115 of file ParametricShapeArcLengthFunctor.h.
References DGtal::PointVector< 3, double >::L_infty, and DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::myShape.
|
delete |
Assignment.
other | the object to copy. |
|
private |
Reference of the implicit shape.
Definition at line 148 of file ParametricShapeArcLengthFunctor.h.
Referenced by DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::operator()(), and DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::operator()().