From a2b77a2e20d8b0d597b7fa49c050ffe93cf49ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 4 Dec 2024 10:20:12 +0100 Subject: [PATCH] tmp commit so that we can easily test in the demo --- .../include/CGAL/Polygon_mesh_processing/region_growing.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shape_detection/include/CGAL/Polygon_mesh_processing/region_growing.h b/Shape_detection/include/CGAL/Polygon_mesh_processing/region_growing.h index d6f78085c448..4923b5cb6349 100644 --- a/Shape_detection/include/CGAL/Polygon_mesh_processing/region_growing.h +++ b/Shape_detection/include/CGAL/Polygon_mesh_processing/region_growing.h @@ -192,13 +192,13 @@ region_growing_of_planes_on_faces(const PolygonMesh& mesh, Static_boolean_property_map()); using Neighbor_query = internal::One_ring_neighbor_query_with_constraints; - using Region_type = RG_PM::Least_squares_plane_fit_region; - using Sorting = RG_PM::Least_squares_plane_fit_sorting; + using Region_type = RG_PM::Plane_face_region; + using Sorting = RG_PM::Face_area_sorting; using Region_growing = CGAL::Shape_detection::Region_growing; Neighbor_query neighbor_query(mesh, ecm); Region_type region_type(mesh, np); - Sorting sorting(mesh, neighbor_query, np); + Sorting sorting(mesh, np); sorting.sort(); std::vector regions;