35 #if defined(ArithmeticalDSSComputer_RECURSES) 36 #error Recursive header files inclusion detected in ArithmeticalDSSComputer.h 37 #else // defined(ArithmeticalDSSComputer_RECURSES) 39 #define ArithmeticalDSSComputer_RECURSES 41 #if !defined ArithmeticalDSSComputer_h 43 #define ArithmeticalDSSComputer_h 49 #include "DGtal/base/Exceptions.h" 50 #include "DGtal/base/Common.h" 51 #include "DGtal/kernel/PointVector.h" 52 #include "DGtal/kernel/CInteger.h" 53 #include "DGtal/base/ReverseIterator.h" 54 #include "DGtal/geometry/curves/ArithmeticalDSS.h" 83 template <
typename TIterator,
84 typename TInteger =
typename IteratorCirculatorTraits<TIterator>::Value::Coordinate,
85 unsigned short adjacency = 8>
157 void init(
const ConstIterator& it);
273 Integer
omega()
const;
297 Point
front()
const ;
301 ConstIterator
begin()
const;
305 ConstIterator
end()
const;
322 Integer
remainder(
const ConstIterator & it)
const;
338 Integer
position(
const ConstIterator & it)
const;
346 Integer
position(
const Point& aPoint )
const;
354 bool isInDSL(
const Point& aPoint )
const;
362 bool isInDSL(
const ConstIterator & it)
const;
369 bool isInDSS(
const Point& aPoint )
const;
376 bool isInDSS(
const ConstIterator & it)
const;
419 template <
typename TIterator,
typename TInteger,
unsigned short adjacency>
421 operator<< ( std::ostream & out, const ArithmeticalDSSComputer<TIterator,TInteger,adjacency> & object )
423 object.selfDisplay( out);
460 template <
typename TIterator,
521 template <
typename TIterator,
567 #include "DGtal/geometry/curves/ArithmeticalDSSComputer.ih" 572 #endif // !defined ArithmeticalDSSComputer_h 574 #undef ArithmeticalDSSComputer_RECURSES 575 #endif // else defined(ArithmeticalDSSComputer_RECURSES)
bool operator!=(const ArithmeticalDSSComputer &other) const
ArithmeticalDSSComputer()
Integer remainder(const ConstIterator &it) const
Aim: This class is a wrapper around ArithmeticalDSS that is devoted to the dynamic recognition of sta...
IteratorCirculatorTraits< TIterator >::Value::Coordinate Coordinate
void init(const ConstIterator &it)
ArithmeticalDSSComputer< ConstIterator, TInteger, adjacency > Self
BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIteratorConcept< ConstIterator >))
ArithmeticalDSSComputer< TIterator, TInteger, 4 > Super
Reverse getReverse() const
ArithmeticalDSSComputer< ReverseIterator< ConstIterator >, TInteger, adjacency > Reverse
ConstIterator end() const
bool isInDSL(const Point &aPoint) const
void selfDisplay(std::ostream &out) const
Integer position(const ConstIterator &it) const
~ArithmeticalDSSComputer()
Aim: This class is a wrapper around ArithmeticalDSS that is devoted to the dynamic recognition of dig...
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
BOOST_STATIC_ASSERT((Point::dimension==2))
Aim: This class is a wrapper around ArithmeticalDSS that is devoted to the dynamic recognition of nai...
ArithmeticalDSS< Coordinate, Integer, adjacency > DSS
ArithmeticalDSSComputer & operator=(const ArithmeticalDSSComputer &other)
ConstIterator begin() const
Aim: Provides nested types for both iterators and circulators: Type, Category, Value, Difference, Pointer and Reference.
Super::ConstIterator ConstIterator
DGtal is the top-level namespace which contains all DGtal functions and types.
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/ForwardTraversal.html.
bool operator==(const ArithmeticalDSSComputer &other) const
IteratorCirculatorTraits< ConstIterator >::Value Point
const Primitive & primitive() const
ArithmeticalDSSComputer< TIterator, TInteger, 4 > Super
Super::ConstIterator ConstIterator
bool isInDSS(const Point &aPoint) const
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/ReadableIterator.html.