35 #if defined(ArithmeticalDSSComputer_RECURSES)
36 #error Recursive header files inclusion detected in ArithmeticalDSSComputer.h
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"
500 #undef ArithmeticalDSSComputer_RECURSES
Aim: This class is a wrapper around ArithmeticalDSS that is devoted to the dynamic recognition of dig...
BOOST_STATIC_ASSERT((concepts::ConceptUtils::SameType< Point, typename DSS::Point >::value))
Integer remainder(const Point &aPoint) const
bool operator!=(const ArithmeticalDSSComputer &other) const
ArithmeticalDSSComputer< ReverseIterator< ConstIterator >, TInteger, adjacency > Reverse
~ArithmeticalDSSComputer()
bool isInDSL(const Point &aPoint) const
bool isInDSS(const Point &aPoint) const
Integer remainder(const ConstIterator &it) const
Integer position(const Point &aPoint) const
ArithmeticalDSSComputer(const ConstIterator &it)
ArithmeticalDSSComputer()
BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIteratorConcept< ConstIterator >))
ArithmeticalDSSComputer< ConstIterator, TInteger, adjacency > Self
Reverse getReverse() const
ArithmeticalDSSComputer(const ArithmeticalDSSComputer &other)
const Primitive & primitive() const
bool isInDSL(const ConstIterator &it) const
ConstIterator end() const
ArithmeticalDSSComputer & operator=(const ArithmeticalDSSComputer &other)
IteratorCirculatorTraits< TIterator >::Value::Coordinate Coordinate
Integer position(const ConstIterator &it) const
bool operator==(const ArithmeticalDSSComputer &other) const
BOOST_CONCEPT_ASSERT((boost_concepts::ForwardTraversalConcept< ConstIterator >))
bool isInDSS(const ConstIterator &it) const
void selfDisplay(std::ostream &out) const
IteratorCirculatorTraits< ConstIterator >::Value Point
BOOST_CONCEPT_ASSERT((concepts::CInteger< Integer >))
ConstIterator begin() const
ArithmeticalDSS< Coordinate, Integer, adjacency > DSS
BOOST_STATIC_ASSERT((Point::dimension==2))
BOOST_CONCEPT_ASSERT((concepts::CInteger< Coordinate >))
void init(const ConstIterator &it)
Aim: This class represents a naive (resp. standard) digital straight segment (DSS),...
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
Aim: Provides nested types for both iterators and circulators: Type, Category, Value,...
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/ForwardTraversal.html.
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/ReadableIterator.html.