#include <CGAL/Cartesian.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/point_generators_2.h>
#include <CGAL/random_convex_set_2.h>
#include <CGAL/all_furthest_neighbors_2.h>
#include <CGAL/IO/Ostream_iterator.h>
#include <iostream>
#include <vector>
typedef double FT;
typedef std::vector<int> Index_cont;
typedef CGAL::Polygon_2<Kernel> Polygon_2;
typedef CGAL::Random_points_in_square_2<Point> Generator;
int main()
{
Polygon_2 p;
CGAL::random_convex_set_2(10, std::back_inserter(p), Generator(1));
Oiterator(std::cout));
std::cout << std::endl;
return 0;
}
OutputIterator all_furthest_neighbors_2(RandomAccessIterator points_begin, RandomAccessIterator points_end, OutputIterator o, Traits t=Default_traits)
computes all furthest neighbors for the vertices of the convex polygon described by the range [points...