diff --git a/Shape_detection/doc/Shape_detection/PackageDescription.txt b/Shape_detection/doc/Shape_detection/PackageDescription.txt index 5490996d98d..1141ba7a29f 100644 --- a/Shape_detection/doc/Shape_detection/PackageDescription.txt +++ b/Shape_detection/doc/Shape_detection/PackageDescription.txt @@ -128,7 +128,7 @@ on a polygon mesh.} ## Deprecated Components ## - `CGAL::Shape_detection::deprecated::Shape_detection_traits` -- `CGAL::Shape_detection::deprecated::Region_growing` +- `CGAL::Shape_detection::deprecated::Region_growing_depr` ## Functions ## - `CGAL::regularize_planes()` diff --git a/Shape_detection/doc/Shape_detection/Shape_detection.txt b/Shape_detection/doc/Shape_detection/Shape_detection.txt index 7b927a08fe4..835e08ae30b 100644 --- a/Shape_detection/doc/Shape_detection/Shape_detection.txt +++ b/Shape_detection/doc/Shape_detection/Shape_detection.txt @@ -566,12 +566,13 @@ which are subgroups of axis-symmetric and orthogonal clusters) as described by V \section Shape_detection_DeprecatedComponents Deprecated Components The new version (see all examples above) of the class `CGAL::Shape_detection::Region_growing` -is not compatible with the old API. For the old API, see an example below. +is not compatible with the old API. For the old API, see an example below and use +`CGAL::Shape_detection::deprecated::Region_growing_depr` instead. \cgalExample{Shape_detection/shape_detection_basic_deprecated.cpp} The old API is still supported, but will be removed in the next releases. -In particular, the classes `CGAL::Shape_detection::deprecated::Region_growing` and +In particular, the classes `CGAL::Shape_detection::deprecated::Region_growing_depr` and `CGAL::Shape_detection::deprecated::Shape_detection_traits` will be removed. Please update your code. diff --git a/Shape_detection/examples/Shape_detection/shape_detection_basic_deprecated.cpp b/Shape_detection/examples/Shape_detection/shape_detection_basic_deprecated.cpp index 59f464acbc5..acdeab6ed57 100644 --- a/Shape_detection/examples/Shape_detection/shape_detection_basic_deprecated.cpp +++ b/Shape_detection/examples/Shape_detection/shape_detection_basic_deprecated.cpp @@ -3,6 +3,8 @@ // converts 64 to 32 bits integers #endif +#include + #include #include