Print out the seed.

This commit is contained in:
Andreas Fabri 2016-02-03 10:19:39 +01:00
parent 8cee2ef1dd
commit 9d674673a6
1 changed files with 2 additions and 1 deletions

View File

@ -29,12 +29,13 @@ typedef CGAL::Random_points_in_square_2<Point_2, Creator> Point_generator;
const double RADIUS = 100;
const int MAX_POLY_SIZE = 100;
int main( )
int main()
{
Polygon_2 polygon;
std::list<Point_2> point_set;
CGAL::Random rand;
std::cerr << "Seed = " << rand.get_seed() << std::endl;
int size = rand.get_int(4, MAX_POLY_SIZE);
// copy size points from the generator, eliminating duplicates, so the