Polygon -> Polygon_2

This commit is contained in:
Andreas Fabri 2006-09-13 16:32:48 +00:00
parent 7a28211444
commit 3f0decccea
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ struct Kernel : public CGAL::Cartesian<FT> {};
typedef Kernel::Point_2 Point; typedef Kernel::Point_2 Point;
typedef std::vector<Point> Cont; typedef std::vector<Point> Cont;
typedef CGAL::Polygon_2<Kernel> Polygon; typedef CGAL::Polygon_2<Kernel> Polygon_2;
typedef CGAL::Random_points_in_square_2<Point> Generator; typedef CGAL::Random_points_in_square_2<Point> Generator;
template < class RandomAccessIC, template < class RandomAccessIC,
@ -124,7 +124,7 @@ int main() {
int j; int j;
for (int n = 0; n < 4; ++n) { for (int n = 0; n < 4; ++n) {
Polygon p; Polygon_2 p;
CGAL::random_convex_set_2(number_of_points[n], CGAL::random_convex_set_2(number_of_points[n],
std::back_inserter(p), std::back_inserter(p),
Generator(1)); Generator(1));