DGtal 1.3.0
|
Functor that returns the position of any point/vector with respect to a digital straight line of shift myShift. We recall that the shift vector is a vector translating a point of remainder \( r \) to a point of remainder \( r + \omega \). See Digital straight lines and segments
for further details.
More...
#include <DGtal/geometry/curves/ArithmeticalDSSConvexHull.h>
Public Types | |
typedef TPosition | Position |
Public Member Functions | |
PositionFunctorFrom2DPoint (const Vector &aShift) | |
template<typename PointVector > | |
Position | operator() (const PointVector &aPointVector) const |
Private Attributes | |
Vector | myShift |
shift vector More... | |
Functor that returns the position of any point/vector with respect to a digital straight line of shift myShift. We recall that the shift vector is a vector translating a point of remainder \( r \) to a point of remainder \( r + \omega \). See Digital straight lines and segments
for further details.
Vector | a model of 2d vector |
TPosition | a model of integer used to locate the points of a DSL |
Definition at line 63 of file ArithmeticalDSSConvexHull.h.
typedef TPosition DGtal::functors::PositionFunctorFrom2DPoint< Vector, TPosition >::Position |
Definition at line 66 of file ArithmeticalDSSConvexHull.h.
|
inline |
Constructor
aShift | shift vector of a naive or standard DSL |
Definition at line 75 of file ArithmeticalDSSConvexHull.h.
|
inline |
Returns the position of a point in a digital straight line
aPointVector | point/vector at which we compute the position |
PointVector | model of 2D point/vector |
Definition at line 84 of file ArithmeticalDSSConvexHull.h.
References DGtal::functors::PositionFunctorFrom2DPoint< Vector, TPosition >::myShift.
|
private |
shift vector
Definition at line 69 of file ArithmeticalDSSConvexHull.h.
Referenced by DGtal::functors::PositionFunctorFrom2DPoint< Vector, TPosition >::operator()().