PointGenerator

Definition

The concept PointGenerator defines the requirements for a point generator, which can be used in places where input iterators are called for.

Refines

InputIterator

Has Models

CGAL::Random_points_in_ball_d<Point_d,>
CGAL::Random_points_in_disc_2<Point_2, Creator>
CGAL::Random_points_in_square_2<Point_2, Creator>
CGAL::Random_points_on_circle_2<Point_2, Creator>
CGAL::Random_points_on_segment_2<Point_2, Creator>
CGAL::Random_points_on_square_2<Point_2, Creator>
CGAL::Random_points_in_cube_3<Point_3, Creator>
CGAL::Random_points_in_cube_d<Point_d>
CGAL::Random_points_in_sphere_3<Point_3, Creator>
CGAL::Random_points_on_sphere_3<Point_3, Creator>
CGAL::Random_points_on_sphere_d<Point_d>
CGAL::Random_points_in_iso_box_d<Point_d>

Types

PointGenerator::value_type
the type of point being generated.

Operations

double pg.range () const return an absolute bound for the coordinates of all generated points.