#include <CGAL/point_generators_2.h>
| ||||||
|
| |||||
randomly chooses two points from the range , creates a random third point on the segment connecting these two points, writes it to first2, and repeats this times, thus writing points to first2 that are collinear with points in the range . Three random numbers are needed from rnd for each point. Returns the value of first2 after inserting the points. |
CGAL::perturb_points_2
CGAL::points_on_segment_2
CGAL::points_on_square_grid_2
CGAL::random_selection
std::random_shuffle