#include <iostream>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/point_generators_2.h>
#include <CGAL/Random.h>
typedef K::Point_2 Point_2;
typedef K::Triangle_2 Triangle_2;
int main() {
std::cout << "Creating 100 random points in a triangle in 2D." << std::endl;
Triangle_2 tri(Point_2(0,0),Point_2(1,0),Point_2(0,1));
Point_generator g(tri);
std::copy_n(g, 100, std::back_inserter(points));
assert( points.size() == 100);
std::cout << points[0] << std::endl;
return 0;
}