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>
419 template <
typename TIterator,
typename TInteger,
unsigned short adjacency>
423 object.selfDisplay( out);
460 template <
typename TIterator,
461 typename TInteger =
typename IteratorCirculatorTraits<TIterator>::Value::Coordinate>
484 template <
typename TIterator,
493 #include "DGtal/geometry/curves/ArithmeticalDSSComputer.ih"
498 #endif // !defined ArithmeticalDSSComputer_h
500 #undef ArithmeticalDSSComputer_RECURSES
501 #endif // else defined(ArithmeticalDSSComputer_RECURSES)
bool isInDSS(const ConstIterator &it) const
Aim: Provides nested types for both iterators and circulators: Type, Category, Value,...
ArithmeticalDSSComputer(const ConstIterator &it)
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
Aim: This class is a wrapper around ArithmeticalDSS that is devoted to the dynamic recognition of dig...
This class adapts any lvalue iterator so that operator* returns a member on the element pointed to by...
ArithmeticalDSSComputer< ReverseIterator< ConstIterator >, TInteger, adjacency > Reverse
Integer remainder(const Point &aPoint) const
IteratorCirculatorTraits< TIterator >::Value::Coordinate Coordinate
BOOST_CONCEPT_ASSERT((concepts::CInteger< Integer >))
bool isInDSL(const ConstIterator &it) const
Integer position(const Point &aPoint) const
ArithmeticalDSSComputer()
const Primitive & primitive() const
BOOST_STATIC_ASSERT((concepts::ConceptUtils::SameType< Point, typename DSS::Point >::value))
ArithmeticalDSS< Coordinate, Integer, adjacency > DSS
void selfDisplay(std::ostream &out) const
BOOST_CONCEPT_ASSERT((boost_concepts::ForwardTraversalConcept< ConstIterator >))
void init(const ConstIterator &it)
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/ForwardTraversal.html.
ArithmeticalDSSComputer< ConstIterator, TInteger, adjacency > Self
DGtal is the top-level namespace which contains all DGtal functions and types.
bool isInDSL(const Point &aPoint) const
bool isInDSS(const Point &aPoint) const
BOOST_CONCEPT_ASSERT((concepts::CInteger< Coordinate >))
ArithmeticalDSSComputer & operator=(const ArithmeticalDSSComputer &other)
ConstIterator end() const
BOOST_STATIC_ASSERT((Point::dimension==2))
BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIteratorConcept< ConstIterator >))
ArithmeticalDSSComputer(const ArithmeticalDSSComputer &other)
bool operator==(const ArithmeticalDSSComputer &other) const
Integer position(const ConstIterator &it) const
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
~ArithmeticalDSSComputer()
ConstIterator begin() const
bool operator!=(const ArithmeticalDSSComputer &other) const
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/ReadableIterator.html.
Integer remainder(const ConstIterator &it) const
IteratorCirculatorTraits< ConstIterator >::Value Point
Reverse getReverse() const