diff --git a/Orthtree/benchmark/Orthtree/construction.cpp b/Orthtree/benchmark/Orthtree/construction.cpp index e04cc9fb398..45d9bc75de8 100644 --- a/Orthtree/benchmark/Orthtree/construction.cpp +++ b/Orthtree/benchmark/Orthtree/construction.cpp @@ -14,8 +14,9 @@ typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel; typedef Kernel::Point_3 Point; typedef CGAL::Point_set_3 Point_set; +typedef Point_set::Point_map Point_map; -typedef CGAL::Octree::Octree Octree; +typedef CGAL::Octree Octree; using std::chrono::high_resolution_clock; using std::chrono::duration_cast; diff --git a/Orthtree/benchmark/Orthtree/nearest_neighbor.cpp b/Orthtree/benchmark/Orthtree/nearest_neighbor.cpp index 0e082377659..a6bacf1de11 100644 --- a/Orthtree/benchmark/Orthtree/nearest_neighbor.cpp +++ b/Orthtree/benchmark/Orthtree/nearest_neighbor.cpp @@ -14,8 +14,9 @@ typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel; typedef Kernel::Point_3 Point; typedef CGAL::Point_set_3 Point_set; +typedef Point_set::Point_map Point_map; -typedef CGAL::Octree::Octree Octree; +typedef CGAL::Octree Octree; using std::chrono::high_resolution_clock; using std::chrono::duration_cast; @@ -48,7 +49,7 @@ int main(int argc, char **argv) { // Find the nearest point to the search point std::vector nearest_neighbors; - octree.nearest_k_neighbors(search_point, 10, std::back_inserter(nearest_neighbors)); + octree.nearest_neighbors(search_point, 10, std::back_inserter(nearest_neighbors)); // End the timer auto end = high_resolution_clock::now();