33 #if defined(SimpleRandomAccessConstRangeFromPoint_RECURSES)
34 #error Recursive header files inclusion detected in SimpleRandomAccessConstRangeFromPoint.h
35 #else // defined(SimpleRandomAccessConstRangeFromPoint_RECURSES)
37 #define SimpleRandomAccessConstRangeFromPoint_RECURSES
39 #if !defined SimpleRandomAccessConstRangeFromPoint_h
41 #define SimpleRandomAccessConstRangeFromPoint_h
45 #include "DGtal/base/BasicFunctors.h"
46 #include "DGtal/base/Circulator.h"
47 #include "DGtal/base/ConstIteratorAdapter.h"
48 #include "DGtal/base/CConstBidirectionalRangeFromPoint.h"
49 #include "boost/concept_check.hpp"
71 template <
typename TConstIterator,
typename DistanceFunctor>
77 BOOST_CONCEPT_ASSERT ( ( boost::UnaryFunction<DistanceFunctor,typename DistanceFunctor::Difference,typename DistanceFunctor::Point > ) );
84 typedef typename DistanceFunctor::Point
Point;
119 if (
this != &other )
151 out <<
"[SimpleRandomAccessConstRangeFromPoint]" << std::endl;
153 std::copy (
myBegin,
myEnd, ostream_iterator<Value> ( out,
", " ) );
162 return "SimpleRandomAccessConstRangeFromPoint";
268 #endif // !defined SimpleRandomAccessConstRangeFromPoint_h
270 #undef SimpleRandomAccessConstRangeFromPoint_RECURSES
271 #endif // else defined(SimpleRandomAccessConstRangeFromPoint_RECURSES)