#include <CGAL/Simple_cartesian.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/point_generators_2.h>
#include <CGAL/random_convex_set_2.h>
#include <CGAL/min_quadrilateral_2.h>
#include <iostream>
typedef CGAL::Polygon_2<Kernel> Polygon_2;
typedef CGAL::Random_points_in_square_2<Point_2> Generator;
int main()
{
Polygon_2 p;
CGAL::random_convex_set_2(20, std::back_inserter(p), Generator(1.0));
std::cout << p << std::endl;
Line_2 p_m[2];
std::cout << p_m[0] << "\n" << p_m[1] << std::endl;
return 0;
}
OutputIterator min_strip_2(ForwardIterator points_begin, ForwardIterator points_end, OutputIterator o, Traits &t=Default_traits)
computes a minimum enclosing strip of the point set described by [points_begin, points_end),...