// Test program for the kernel checker. #include #include #include #include #include #include // Does not fully work yet, so I choose a simple case K1 == K2 :) //typedef CGAL::Filtered_kernel > K1; typedef CGAL::Cartesian K2; typedef K2 K1; // typedef CGAL::Cartesian K2; //typedef CGAL::Kernel_checker > K; typedef CGAL::Kernel_checker K; typedef K::RT NT; typedef CGAL::Delaunay_triangulation_3 Delaunay3d; int my_rand() { return int(CGAL::default_random.get_double()*(1<<31)); } int main() { Delaunay3d D; for (int i=0; i<100; i++) { double x = my_rand(), y = my_rand(), z = my_rand(); D.insert(K::Point_3(K1::Point_3(x, y, z), K2::Point_3(x, y, z))); } return 0; }