#define CGAL_HILBERT_SORT_WITH_MEDIAN_POLICY_CROSS_PLATFORM_BEHAVIOR 1 #include #include #include #include #define GRID_SIZE 10 typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel; typedef CGAL::Delaunay_triangulation_3 DT3; int main() { std::vector points; points.reserve(GRID_SIZE*GRID_SIZE*GRID_SIZE); for (int i=0;i> original ){ buffer >> computed; if ( original!=computed ){ std::cout <<"Error: triangulations are different"<< std::endl; std::cout << "|" << original <<"| vs |"<< computed << "|"<< std::endl; return EXIT_FAILURE; } } } std::cout <<"Triangulations are identical"<< std::endl; return 0; }