The class Points_on_segment_2<Point_2> is a generator for points on a segment whose endpoints are specified upon construction. The points are equally spaced
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
is an input iterator creating points of type P equally
spaced on the segment from to . points are placed on the
segment defined by and . Values of the index parameter larger
than 0 indicate starting points for the sequence further from .
Point has index value 0 and has index value .
|
|
| returns the range in which the point coordinates lie, i.e. range() and range() |
|
| returns the source point of the segment. |
|
| returns the target point of the segment. |
CGAL::copy_n
CGAL::Counting_iterator
CGAL::points_on_segment<Point_2>
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_selection
std::random_shuffle