CGAL 4.7 - STL Extensions for CGAL: CGAL::N_step_adaptor< I, N > Class Template Reference

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.7 - STL Extensions for CGAL

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members
CGAL::N_step_adaptor< I, N > Class Template Reference
Iterators and Iterator/Circulator Adaptors

`#include <CGAL/iterator.h>`

## Definition

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.