diff --git a/Point_set_processing_3/doc_tex/Point_set_processing_3_ref/jet_smooth_point_set.tex b/Point_set_processing_3/doc_tex/Point_set_processing_3_ref/jet_smooth_point_set.tex index ee180bbeb46..b7b9e61fdd8 100644 --- a/Point_set_processing_3/doc_tex/Point_set_processing_3_ref/jet_smooth_point_set.tex +++ b/Point_set_processing_3/doc_tex/Point_set_processing_3_ref/jet_smooth_point_set.tex @@ -29,14 +29,14 @@ % Reduce left margin \ccThree{123456789012345}{6789012}{} -\ccFunction{template void jet_smooth_point_set(ForwardIterator first, ForwardIterator beyond, PointPMap point_pmap, unsigned int k, const Kernel& kernel, unsigned int degree_fitting = 2, unsigned int degree_monge = 2);} +\ccFunction{template void jet_smooth_point_set(InputIterator first, InputIterator beyond, PointPMap point_pmap, unsigned int k, const Kernel& kernel, unsigned int degree_fitting = 2, unsigned int degree_monge = 2);} { Smoothes the [first, beyond) range of points using jet fitting on the k nearest neighbors and reprojection onto the jet. As this method relocates the points, it should not be called on containers sorted w.r.t. point locations. \ccPrecond k $>$= 2. \ccCommentHeading{Template Parameters} \\ -\ccc{ForwardIterator}: iterator over input points. \ccc{PointPMap}: is a model of \ccc{boost::ReadablePropertyMap} with a \ccc{value_type} = \ccc{Point_3}. It can be omitted if \ccc{ForwardIterator} \ccc{value_type} is convertible to \ccc{Point_3}. \ccc{Kernel}: Geometric traits class. It can be omitted and deduced automatically from \ccc{PointPMap} \ccc{value_type}. +\ccc{InputIterator}: iterator over input points. \ccc{PointPMap}: is a model of \ccc{boost::ReadablePropertyMap} with a \ccc{value_type} = \ccc{Point_3}. It can be omitted if \ccc{InputIterator} \ccc{value_type} is convertible to \ccc{Point_3}. \ccc{Kernel}: Geometric traits class. It can be omitted and deduced automatically from \ccc{PointPMap} \ccc{value_type}. \ccCommentHeading{Parameters} \\ -\ccc{first}: iterator over the first input point. \ccc{beyond}: past-the-end iterator over the input points. \ccc{point_pmap}: property map \ccc{ForwardIterator} -$>$ \ccc{Point_3}. \ccc{k}: number of neighbors. \ccc{kernel}: geometric traits. +\ccc{first}: iterator over the first input point. \ccc{beyond}: past-the-end iterator over the input points. \ccc{point_pmap}: property map \ccc{InputIterator} -$>$ \ccc{Point_3}. \ccc{k}: number of neighbors. \ccc{kernel}: geometric traits. } \ccGlue diff --git a/Point_set_processing_3/doc_tex/Point_set_processing_3_ref/remove_outliers.tex b/Point_set_processing_3/doc_tex/Point_set_processing_3_ref/remove_outliers.tex index 074aae773de..6c96469b04c 100644 --- a/Point_set_processing_3/doc_tex/Point_set_processing_3_ref/remove_outliers.tex +++ b/Point_set_processing_3/doc_tex/Point_set_processing_3_ref/remove_outliers.tex @@ -32,16 +32,16 @@ This method modifies the order of input points so as to pack all remaining point % Reduce left margin \ccThree{123456789012345}{6789012}{} -\ccFunction{template ForwardIterator remove_outliers(ForwardIterator first, ForwardIterator beyond, PointPMap point_pmap, unsigned int k, double threshold_percent, const Kernel& kernel);} +\ccFunction{template InputIterator remove_outliers(InputIterator first, InputIterator beyond, PointPMap point_pmap, unsigned int k, double threshold_percent, const Kernel& kernel);} { Removes outliers: computes average squared distance to the K nearest neighbors, and sorts the points in increasing order of average distance. \\ This method modifies the order of input points so as to pack all remaining points first, and returns an iterator over the first point to remove (see erase-remove idiom). For this reason it should not be called on sorted containers. \ccPrecond k $>$= 2. \ccCommentHeading{Template Parameters} \\ -\ccc{ForwardIterator}: iterator over input points. \ccc{PointPMap}: is a model of \ccc{boost::ReadablePropertyMap} with a \ccc{value_type} = \ccc{Point_3}. It can be omitted if \ccc{ForwardIterator} \ccc{value_type} is convertible to \ccc{Point_3}. \ccc{Kernel}: Geometric traits class. It can be omitted and deduced automatically from \ccc{PointPMap} \ccc{value_type}. +\ccc{InputIterator}: iterator over input points. \ccc{PointPMap}: is a model of \ccc{boost::ReadablePropertyMap} with a \ccc{value_type} = \ccc{Point_3}. It can be omitted if \ccc{InputIterator} \ccc{value_type} is convertible to \ccc{Point_3}. \ccc{Kernel}: Geometric traits class. It can be omitted and deduced automatically from \ccc{PointPMap} \ccc{value_type}. \ccCommentHeading{Returns} iterator over the first point to remove. \ccCommentHeading{Parameters} \\ -\ccc{first}: iterator over the first input point. \ccc{beyond}: past-the-end iterator over the input points. \ccc{point_pmap}: property map \ccc{ForwardIterator} -$>$ \ccc{Point_3}. \ccc{k}: number of neighbors. \ccc{threshold_percent}: percentage of points to remove. \ccc{kernel}: geometric traits. +\ccc{first}: iterator over the first input point. \ccc{beyond}: past-the-end iterator over the input points. \ccc{point_pmap}: property map \ccc{InputIterator} -$>$ \ccc{Point_3}. \ccc{k}: number of neighbors. \ccc{threshold_percent}: percentage of points to remove. \ccc{kernel}: geometric traits. } \ccGlue diff --git a/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/APSS_reconstruction_function.tex b/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/APSS_reconstruction_function.tex index 30afb69805a..4b67ab850bc 100644 --- a/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/APSS_reconstruction_function.tex +++ b/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/APSS_reconstruction_function.tex @@ -22,7 +22,7 @@ % The section below is automatically generated. Do not edit! %START-AUTO(\ccDefinition) -\ccc{APSS_reconstruction_function} computes an implicit function that defines a Point Set Surface (PSS) based on moving least squares (MLS) fitting of algebraic spheres. +\ccc{APSS_reconstruction_function} computes a signed distance field that defines a Point Set Surface (PSS) based on moving least squares (MLS) fitting of algebraic spheres. This class implements a variant of the {\em Algebraic Point Set Surfaces} method by Guennebaud and Gross \cite{Guennebaud07}. @@ -97,6 +97,11 @@ typedef to \ccc{Geom_traits::Vector_3} typedef to \ccc{Geom_traits::Sphere_3} } \ccGlue +\ccNestedType{BBox} +{ +typedef to \ccc{Bbox_3} +} +\ccGlue %END-AUTO(\ccTypes) @@ -148,7 +153,11 @@ Sets smoothness factor. Typical choices are in the range 2 (clean datasets) and Returns a sphere bounding the inferred surface. } \ccGlue -\ccMethod{FT operator()(const Point& p) const;} +\ccMethod{BBox bounding_box() const;} +{ +} +\ccGlue +\ccMethod{FT operator()(const Point& p, bool * ok = 0) const;} { \ccc{ImplicitFunction} interface: evaluates the implicit function at a given 3D query point. } diff --git a/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/Poisson_reconstruction_function.tex b/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/Poisson_reconstruction_function.tex index 321255c79f3..a6bc0182162 100644 --- a/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/Poisson_reconstruction_function.tex +++ b/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/Poisson_reconstruction_function.tex @@ -73,7 +73,7 @@ Geometric traits class. \ccGlue \ccNestedType{Triangulation} { -Typedef to \ccc{Reconstruction_triangulation_3}. +Internal 3D triangulation, of type \ccc{Reconstruction_triangulation_3}. } \ccGlue \ccNestedType{FT} diff --git a/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/output_surface_facets_to_polyhedron.tex b/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/output_surface_facets_to_polyhedron.tex deleted file mode 100644 index cff029ee2d4..00000000000 --- a/Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3_ref/output_surface_facets_to_polyhedron.tex +++ /dev/null @@ -1,60 +0,0 @@ -% +------------------------------------------------------------------------+ -% | Reference manual page: output_surface_facets_to_polyhedron.tex -% +------------------------------------------------------------------------+ -% | 07.01.2009 Pierre Alliez, Laurent Saboret, Gael Guennebaud -% | Package: Surface_reconstruction_points_3 -% | -\RCSdef{\RCSsurfacereconstructionoutputsurfacefacetsRev}{$Id$} -\RCSdefDate{\RCSsurfacereconstructionoutputsurfacefacetsDate}{$Date$} -% | -\ccRefPageBegin -%%RefPage: end of header, begin of main body -% +------------------------------------------------------------------------+ - - -\begin{ccRefFunction}{output_surface_facets_to_polyhedron} %% add template arg's if necessary - -%% \ccHtmlCrossLink{} %% add further rules for cross referencing links -%% \ccHtmlIndexC[function]{} %% add further index entries - -\ccDefinition - -\ccc{output_surface_facets_to_polyhedron()} converts a surface reconstructed by \ccc{make_surface_mesh()} to a \ccc{Polyhedron_3}. - -\ccInclude{CGAL/output_surface_facets_to_polyhedron.h} - -% The section below is automatically generated. Do not edit! -%START-AUTO(\ccDefinition) - -% Reduce left margin -\ccThree{123456789012345}{6789012}{} - -\ccFunction{template void output_surface_facets_to_polyhedron(const SurfaceMeshComplex_2InTriangulation_3& c2t3, Polyhedron& output_polyhedron);} -{ -Gets reconstructed surface out of a \ccc{SurfaceMeshComplex_2InTriangulation_3} object. \\ -This variant exports the surface as a polyhedron. It requires the surface to be manifold. For this purpose, you may call \ccc{make_surface_mesh}() with \ccc{Manifold_tag} or \ccc{Manifold_with_boundary_tag} parameter. -\ccCommentHeading{Template Parameters} \\ -\ccc{SurfaceMeshComplex_2InTriangulation_3}: model of the \ccc{SurfaceMeshComplex_2InTriangulation_3} concept. \ccc{Polyhedron}: an instance of \ccc{Polyhedron_3}. -\ccCommentHeading{Parameters} \\ -\ccc{c2t3}: Input surface. \ccc{output_polyhedron}: Output polyhedron. -} -\ccGlue - -%END-AUTO(\ccDefinition) - -\ccSeeAlso - -\ccRefIdfierPage{CGAL::output_surface_facets_to_off} \\ - -\ccExample - -See \ccc{APSS_reconstruction.cpp} example. - -\end{ccRefFunction} - -% +------------------------------------------------------------------------+ -%%RefPage: end of main body, begin of footer -\ccRefPageEnd -% EOF -% +------------------------------------------------------------------------+ -