DGtal 1.4.0
|
#include <DGtal/kernel/Point2ScalarFunctors.h>
Public Types | |
typedef TPoint | Point |
typedef TScalar | Scalar |
typedef Point | argument_type |
typedef Scalar | value_type |
Public Member Functions | |
HatPointFunction (Scalar v0, Scalar r) | |
Scalar | operator() (const Point &p) const |
Data Fields | |
Scalar | myV0 |
Scalar | myV0OverR |
Scalar | myR |
Scalar | myR2 |
The hat function of value v0 at point 0 with a linear decrease to 0 at distance r. A function Point -> Scalar.
Definition at line 55 of file Point2ScalarFunctors.h.
typedef Point DGtal::functors::HatPointFunction< TPoint, TScalar >::argument_type |
Definition at line 58 of file Point2ScalarFunctors.h.
typedef TPoint DGtal::functors::HatPointFunction< TPoint, TScalar >::Point |
Definition at line 56 of file Point2ScalarFunctors.h.
typedef TScalar DGtal::functors::HatPointFunction< TPoint, TScalar >::Scalar |
Definition at line 57 of file Point2ScalarFunctors.h.
typedef Scalar DGtal::functors::HatPointFunction< TPoint, TScalar >::value_type |
Definition at line 59 of file Point2ScalarFunctors.h.
|
inline |
Definition at line 67 of file Point2ScalarFunctors.h.
|
inline |
Definition at line 69 of file Point2ScalarFunctors.h.
References DGtal::functors::HatPointFunction< TPoint, TScalar >::myR2, DGtal::functors::HatPointFunction< TPoint, TScalar >::myV0, DGtal::functors::HatPointFunction< TPoint, TScalar >::myV0OverR, and DGtal::functions::square().
Scalar DGtal::functors::HatPointFunction< TPoint, TScalar >::myR |
Definition at line 63 of file Point2ScalarFunctors.h.
Scalar DGtal::functors::HatPointFunction< TPoint, TScalar >::myR2 |
Definition at line 64 of file Point2ScalarFunctors.h.
Referenced by DGtal::functors::HatPointFunction< TPoint, TScalar >::operator()().
Scalar DGtal::functors::HatPointFunction< TPoint, TScalar >::myV0 |
Definition at line 61 of file Point2ScalarFunctors.h.
Referenced by DGtal::functors::HatPointFunction< TPoint, TScalar >::operator()().
Scalar DGtal::functors::HatPointFunction< TPoint, TScalar >::myV0OverR |
Definition at line 62 of file Point2ScalarFunctors.h.
Referenced by DGtal::functors::HatPointFunction< TPoint, TScalar >::operator()().