The function copy_n copies items from an
input iterator to an output iterator which is useful for possibly
infinite
sequences of random geometric objects.1
#include <CGAL/algorithm.h>
template <class InputIterator, class Size, class OutputIterator>
OutputIterator
copy_n ( InputIterator first, Size n, OutputIterator result)
copies the first items from
first to result. Returns the value of result
after inserting the items.