From 4681f17ca8a90c100d01d17b59a90ff4abdfae09 Mon Sep 17 00:00:00 2001 From: JacksonCampolattaro Date: Sat, 16 Sep 2023 10:24:24 +0200 Subject: [PATCH] Fix a small issue with the Octree definition --- Orthtree/include/CGAL/Orthtree_traits_base_for_dimension.h | 1 - .../include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Orthtree/include/CGAL/Orthtree_traits_base_for_dimension.h b/Orthtree/include/CGAL/Orthtree_traits_base_for_dimension.h index fb7d4f6b2f9..55692b2ffba 100644 --- a/Orthtree/include/CGAL/Orthtree_traits_base_for_dimension.h +++ b/Orthtree/include/CGAL/Orthtree_traits_base_for_dimension.h @@ -119,7 +119,6 @@ template struct Orthtree_traits_base_for_dimension> { /// \name Types /// @{ - using GeomTraits = K; using Dimension = Dimension_tag<3>; using FT = typename K::FT; using Point_d = typename K::Point_3; diff --git a/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h b/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h index 12de48cc60f..0aa26c50521 100644 --- a/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h +++ b/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h @@ -56,7 +56,7 @@ class RANSAC_octree { typedef std::vector Input_range; typedef Random_index_access_property_map Indexed_point_map; - typedef Orthtree_traits_point_3::type, Input_range, Indexed_point_map> OTraits; + typedef Orthtree_traits_point::type, Input_range, Indexed_point_map, Dimension_tag<3>> OTraits; typedef CGAL::Orthtree Octree;