The function perturb_points_2 perturbs each point in a given range of points by a random amount.
#include <CGAL/point_generators_2.h>
template <class ForwardIterator> | ||||||
void |
| |||||
perturbs the points in the range [first,last) by replacing each point with a random point from the xeps × yeps rectangle centered at the original point. Two random numbers are needed from rnd for each point. |
Predefined implementations for these creators like the default are described in Section 73.10.