CGAL 6.1 - STL Extensions for CGAL

Loading...
Searching...
No Matches
List of all members
CGAL::N_step_adaptor< I, N > Class Template Reference
Reference Manual » Iterators and Iterator/Circulator Adaptors

`#include <CGAL/iterator.h>`

## Definition

template<typename I, typename int N>
class CGAL::N_step_adaptor< I, N >

The adaptor `N_step_adaptor` changes the step width of the iterator or circulator class `I` to `N`.

It is itself an iterator or circulator respectively. The behavior is undefined if the adaptor is used on a range `[i,j)` where `j-i` is not a multiple of `n`.

## Creation
| N_step_adaptor (const I &j)
| down cast.