#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Delaunay_triangulation_3.h>
#include <CGAL/Random.h>
#include <vector>
#include <cassert>
typedef Delaunay::Point Point;
int main()
{
std::vector<Point> P;
for (int z=0 ; z<20 ; z++)
for (int y=0 ; y<20 ; y++)
for (int x=0 ; x<20 ; x++)
P.push_back(Point(x,y,z));
Delaunay T(P.begin(), P.end());
assert( T.number_of_vertices() == 8000 );
for (int i=0; i<10000; ++i)
T.nearest_vertex(Point(CGAL::default_random.get_double(0, 20),
CGAL::default_random.get_double(0, 20),
CGAL::default_random.get_double(0, 20)));
return 0;
}