32 #if defined(ArithDSSIterator_RECURSES)
33 #error Recursive header files inclusion detected in ArithDSSIterator.h
36 #define ArithDSSIterator_RECURSES
38 #if !defined ArithDSSIterator_h
40 #define ArithDSSIterator_h
45 #include "DGtal/base/Common.h"
46 #include "DGtal/kernel/PointVector.h"
47 #include "DGtal/kernel/CInteger.h"
62 template<
typename TInteger,
int connectivity = 8>
245 #if !defined(BUILD_INLINE)
246 #include "DGtal/geometry/curves/ArithDSSIterator.ih"
255 #undef ArithDSSIterator_RECURSES
Aim: An iterator on the points of a Digital Straight Segment. Template parameters are the integer typ...
std::forward_iterator_tag iterator_category
bool operator==(const Self &other) const
ArithDSSIterator(const Integer a, const Integer b, const Integer mu, const Point &p)
std::ptrdiff_t difference_type
Self & operator=(const Self &other)
TInteger remainder(const Point &Q)
bool operator!=(const Self &other) const
BOOST_CONCEPT_ASSERT((concepts::CInteger< Integer >))
PointVector< 2, Integer > Point
ArithDSSIterator(const ArithDSSIterator &other)
reference operator*() const
void selfDisplay(std::ostream &out) const
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...