mirror of https://github.com/CGAL/cgal
Fix the use of a deprecated function.
This commit is contained in:
parent
7bbc9cb1b7
commit
f90bce1b33
|
|
@ -22,7 +22,7 @@ int main()
|
||||||
|
|
||||||
// create a set of random points:
|
// create a set of random points:
|
||||||
Point_list P;
|
Point_list P;
|
||||||
CGAL::Random_points_in_iso_box_d<Point> rpg(d,100.0);
|
CGAL::Random_points_in_cube_d<Point> rpg(d,100.0);
|
||||||
for (int i = 0; i < n; ++i) {
|
for (int i = 0; i < n; ++i) {
|
||||||
P.push_back(*rpg);
|
P.push_back(*rpg);
|
||||||
++rpg;
|
++rpg;
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ int main()
|
||||||
|
|
||||||
// create a set of random points:
|
// create a set of random points:
|
||||||
Point_list P;
|
Point_list P;
|
||||||
CGAL::Random_points_in_iso_box_d<Point> rpg(d,1.0);
|
CGAL::Random_points_in_cube_d<Point> rpg(d,1.0);
|
||||||
for (int i = 0; i < n; ++i) {
|
for (int i = 0; i < n; ++i) {
|
||||||
P.push_back(*rpg);
|
P.push_back(*rpg);
|
||||||
++rpg;
|
++rpg;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue