CGAL 5.1 - Geometric Object Generators
PointGenerator Class Reference

#include <Concepts/PointGenerator.h>

Definition

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

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_in_triangle_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_in_triangle_3<Point_3, Creator>

CGAL::Random_points_in_tetrahedron_3<Point_3, Creator>

CGAL::Random_points_on_sphere_3<Point_3, Creator>

CGAL::Random_points_on_sphere_d<Point_d>

Types

typedef unspecified_type value_type
 the type of point being generated. More...
 

Operations

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

Member Typedef Documentation

◆ value_type

typedef unspecified_type PointGenerator::value_type

the type of point being generated.

Member Function Documentation

◆ range()

double PointGenerator::range ( ) const

returns an absolute bound for the coordinates of all generated points.