diff --git a/Surface_mesher/doc_tex/Surface_mesher/main.tex b/Surface_mesher/doc_tex/Surface_mesher/main.tex index c700b4d4273..a5e969efada 100644 --- a/Surface_mesher/doc_tex/Surface_mesher/main.tex +++ b/Surface_mesher/doc_tex/Surface_mesher/main.tex @@ -4,14 +4,23 @@ \minitoc -\begin{ccTexOnly} +%\begin{ccTexOnly} +%\begin{center} +%\includegraphics[height=10cm]{Surface_mesher/skull-surface} +%\end{center} +%\end{ccTexOnly} +%\begin{ccHtmlOnly} +% +%\end{ccHtmlOnly} + \begin{center} -\includegraphics[height=10cm]{Surface_mesher/skull-surface} + \begin{ccTexOnly} + \includegraphics[height=10cm]{Surface_mesher/skull-surface} + \end{ccTexOnly} + \begin{ccHtmlOnly} + + \end{ccHtmlOnly} \end{center} -\end{ccTexOnly} -\begin{ccHtmlOnly} - -\end{ccHtmlOnly} \section{Introduction} \label{SurfaceMesher_section_intro} @@ -263,7 +272,7 @@ on the distance (Hausdorff and even Frechet distance) between the mesh and the surface if the radius bound is everywhere smaller than the $\epsilon$ times the local feature size. -Here $\epsilon$ is a constant whish has to be +Here $\epsilon$ is a constant which has to be less than 0.16, and the local feature size $lfs(x)$ is defined on each point $x$ of the surface as the distance from $x$ to the medial axis. @@ -277,10 +286,10 @@ of local feature size on this surface). The value of the local feature size on any point of the surface -or its minimum on the surface it usually not known +or its minimum on the surface it usually unknown although it can sometimes be guessed. Also it happens frequently that setting the meshing criteria so as to fulfill the theoretical -conditions yield an over refined mesh. +conditions yields an over refined mesh. On the other hand, when the size criteria are relaxed, no homeomorphism with the input surface is guaranteed, and the output mesh is not even guaranteed to be manifold. diff --git a/Surface_mesher/doc_tex/Surface_mesher_ref/Gray_level_image_3.tex b/Surface_mesher/doc_tex/Surface_mesher_ref/Gray_level_image_3.tex index 128b7878a06..4fd88561cb1 100644 --- a/Surface_mesher/doc_tex/Surface_mesher_ref/Gray_level_image_3.tex +++ b/Surface_mesher/doc_tex/Surface_mesher_ref/Gray_level_image_3.tex @@ -41,7 +41,7 @@ in the input 3D gray image. %$f(x,y,z)=0$, and \ccc{FT(1)} if $f(x,y,z)<0$. \ccRefName\ is a model of %\ccc{ImplicitFunction}. -\ccRefName\ is a wrapper around an auxiliary library called +\ccRefName\ provides an interface with an auxiliary library called \emph{ImageIO}. An executable that uses \ccRefName\ must be linked with the \emph{ImageIO} library. This library is shipped with \cgal\ in the \ccc{examples/Surface_mesher/} subdirectory. diff --git a/Surface_mesher/doc_tex/Surface_mesher_ref/ImplicitSurfaceTraits_3.tex b/Surface_mesher/doc_tex/Surface_mesher_ref/ImplicitSurfaceTraits_3.tex index 4e406ba9117..b22195bba69 100644 --- a/Surface_mesher/doc_tex/Surface_mesher_ref/ImplicitSurfaceTraits_3.tex +++ b/Surface_mesher/doc_tex/Surface_mesher_ref/ImplicitSurfaceTraits_3.tex @@ -16,12 +16,19 @@ \ccDefinition The concept \ccRefName\ describes the requirements of the traits class to -be plugged as \ccc{Traits} in \ccc{Implicit_surface_3}. -The concept provides the types, predicates and constructors objects -that are used in -\ccc{Surface_mesh_traits_generator_3 - >::Type}, which is the model of \ccc{SurfaceMeshTraits_3} that is used -when the first version of \ccc{make_surface_mesh} is called. +be plugged as \ccc{Traits} in \ccc{Implicit_surface_3}. + + +When \ccc{make_surface_mesh} is called +with a surface of type \ccc{Implicit_surface_3}, + the surface mesher traits generator generates automatically +a traits class that is a model of \ccc{SurfaceMeshTraits_3}. +Actually, +the concept \ccRefName\ provides the types, predicates and constructors +that are passed +to the generated model of \ccc{SurfaceMeshTraits_3}. + \ccTypes diff --git a/Surface_mesher/doc_tex/Surface_mesher_ref/Implicit_surface_3.tex b/Surface_mesher/doc_tex/Surface_mesher_ref/Implicit_surface_3.tex index 40f584b2238..c3729a9ba7e 100644 --- a/Surface_mesher/doc_tex/Surface_mesher_ref/Implicit_surface_3.tex +++ b/Surface_mesher/doc_tex/Surface_mesher_ref/Implicit_surface_3.tex @@ -37,7 +37,7 @@ that has to be implemented with a model of \ccc{ImplicitSurfaceTraits_3}. Actually, this traits class implements the oracle needed by the surface mesher: -the types, predicates and constructors objects provided +the types, predicates and constructors provided in \ccc{Traits} are passed by the surface mesher traits generator to the generated the traits class @@ -61,7 +61,7 @@ the type \ccc{Traits::FT}. \ccConstructor{ Implicit_surface_3(Function f, Sphere_3 bounding_sphere, - FT error_bound);} + FT error_bound = FT(1e-3));} {\ccc{f} is the object of type \ccc{Function} that represents the implicit surface.\\ \ccc{bounding_sphere} is a bounding sphere of the implicit surface. The