diff --git a/Point_set_shape_detection_3/test/Point_set_shape_detection_3/test_scene.cpp b/Point_set_shape_detection_3/test/Point_set_shape_detection_3/test_scene.cpp index 07fe4c9cceb..5282167816a 100644 --- a/Point_set_shape_detection_3/test/Point_set_shape_detection_3/test_scene.cpp +++ b/Point_set_shape_detection_3/test/Point_set_shape_detection_3/test_scene.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include @@ -31,6 +32,8 @@ bool test_scene() { typedef CGAL::Shape_detection_3::Sphere Sphere; typedef CGAL::Shape_detection_3::Torus Torus; + typedef CGAL::Plane_regularization Regularization; + Pwn_vector points; // Loads point set from a file. @@ -126,6 +129,10 @@ bool test_scene() { return false; } + // Test regularization + Regularization regularization (points, ransac); + regularization.run (50., 0.01); + Point_index_range pts = ransac.indices_of_unassigned_points(); std::cout << " succeeded" << std::endl;