#include #include #include #include #include #include template void test() { typedef typename Kernel::Point_3 Point; typedef CGAL::Point_set_3 Point_set; typedef CGAL::Octree Octree; Point_set points; CGAL::Random_points_in_cube_3 generator; points.reserve(100); for (std::size_t i = 0; i < 100; ++i) points.insert(*(generator++)); Octree octree(points, points.point_map()); octree.refine(); octree.grade(); } int main (int, char**) { test >(); test >(); test(); test(); return EXIT_SUCCESS; }