Note : this class is deprecated since Cgal 3.8. The class CGAL::Random_points_in_cube_d should be used instead.
The class Random_points_in_iso_box_d<Point_d> is an input iterator creating points uniformly distributed in a half-open d-dimensional iso box. The default Creator is Creator_uniform_d<Kernel_traits<Point_d>::Kernel::RT, Point_d>.
#include <CGAL/point_generators_d.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
g is an input iterator creating points of type Point_d uniformly
distributed in the half-open d-dimensional iso box with side length 2 a,
centered
at the origin, i.e. ∀ p = *g, ∀ i ∈ [0,d-1]: -a ≤ p[i] < a .
d random numbers are needed from rnd for each point.
|
CGAL::Random_points_in_cube_d<Point_d>