Fix a small issue with the Octree definition

This commit is contained in:
JacksonCampolattaro 2023-09-16 10:24:24 +02:00
parent d169adb98b
commit 4681f17ca8
2 changed files with 1 additions and 2 deletions

View File

@ -119,7 +119,6 @@ template <typename K>
struct Orthtree_traits_base_for_dimension<K, Dimension_tag<3>> {
/// \name Types
/// @{
using GeomTraits = K;
using Dimension = Dimension_tag<3>;
using FT = typename K::FT;
using Point_d = typename K::Point_3;

View File

@ -56,7 +56,7 @@ class RANSAC_octree {
typedef std::vector<std::size_t> Input_range;
typedef Random_index_access_property_map<Input_iterator, Point_map> Indexed_point_map;
typedef Orthtree_traits_point_3<typename Traits_base<Traits>::type, Input_range, Indexed_point_map> OTraits;
typedef Orthtree_traits_point<typename Traits_base<Traits>::type, Input_range, Indexed_point_map, Dimension_tag<3>> OTraits;
typedef CGAL::Orthtree<OTraits> Octree;