diff --git a/Mesh_3/doc/Mesh_3/Mesh_3.txt b/Mesh_3/doc/Mesh_3/Mesh_3.txt index 059336ff1dc..2731627e13f 100644 --- a/Mesh_3/doc/Mesh_3/Mesh_3.txt +++ b/Mesh_3/doc/Mesh_3/Mesh_3.txt @@ -735,25 +735,6 @@ Surface of the output mesh generated with a very small `facet_distance` without the weights (left, 25563 vertices) and with the weights (right, 19936 vertices). \cgalFigureEnd -\subsubsection Mesh_3DomainsFrom3DImagesWithFeatures Domains From Segmented 3D Images, with Feature Detection - -The example \ref Mesh_3/mesh_3D_image_with_detection_of_features.cpp shows how to use -the feature detection functors `CGAL::Mesh_3::Detect_features_in_image` and -`CGAL::Mesh_3::Detect_features_on_image_bbox`, in order to get a quality discretization -of the curves lying at the intersection of three or more subdomains (including the outside). -The original feature detection algorithm was described in \cgalCite{cgal:hssz-gmcabonbc-97}, -along with a list of possible voxel configurations. The detection implemented in \cgal -generalizes this description and computes a graph of polyline features at the Intersection -of three or more subdomains. - -\cgalExample{Mesh_3/mesh_3D_image_with_detection_of_features.cpp} - -\cgalFigureBegin{figure_detectFeaturesInImage, detect_features_in_image.jpg} -Surface of the output mesh generated from a labeled image without (left) -and with (right) feature detection and protection. -\cgalFigureEnd - - \subsubsection Mesh_3DomainsFrom3DImagesWithCustomInitialization Domains From 3D Images, with a Custom Initialization The example \ref Mesh_3/mesh_3D_image_with_custom_initialization.cpp is a modification @@ -942,21 +923,26 @@ The first modification is the type of the mesh domain. Instead of being `Mesh_domain_with_polyline_features_3` templated by a `Labeled_mesh_domain_3`. -\snippet Mesh_3/mesh_3D_image_with_detection_of_features.cpp Domain definition +\snippet Mesh_3/mesh_3D_image_with_features.cpp Domain definition Then, in the function `%main()`, creation of `%domain` is done -with an additional argument, a dedicated functor -that computes the 1D-features, that are added to the domain. +with an additional argument: a dedicated functor +that computes the 1D features, that are added to the domain. \snippet Mesh_3/mesh_3D_image_with_detection_of_features.cpp Domain creation -The functor `%Detect_features_in_image` is defined in its own header file. -It computes the 1D-features that correspond to the intersection of the bounding box of the -image with the surfaces defined by the image, and the polylines that lie at -the intersection of 3 or more subdomains. +The functor `CGAL::Detect_features_in_image` is defined in its own header file. +It computes the 1D features that correspond to the intersections of the bounding box of the +image with the surfaces defined by the image, and polylines that lie at +the intersection of three or more subdomains (including the outside). +It then constructs a graph of these polyline features. The named constructor +adds this feature graph to the domain for later feature protection. +The original feature detection algorithm was described in \cgalCite{cgal:hssz-gmcabonbc-97}, +along with a list of possible voxel configurations. The detection implemented in \cgal +generalizes this description. -The example \ref Mesh_3/mesh_3D_image_with_features.cpp show how, -at the same time, more input polylines can be added as 1D-features to the mesh domain. +The example \ref Mesh_3/mesh_3D_image_with_features.cpp shows how +user-specified input polylines can further be added as 1D features to the mesh domain. \snippet Mesh_3/mesh_3D_image_with_features.cpp Domain creation