From faa598a9ab3d855645d4e348feaf0e3277987c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Fri, 13 Feb 2015 15:12:35 +0100 Subject: [PATCH] prevent the creation of an empty internal namespace in the doc trivial bugfix for master --- .../include/CGAL/compute_average_spacing.h | 4 ++-- Point_set_processing_3/include/CGAL/jet_estimate_normals.h | 4 ++-- Point_set_processing_3/include/CGAL/jet_smooth_point_set.h | 6 ++++-- Point_set_processing_3/include/CGAL/mst_orient_normals.h | 6 ++---- Point_set_processing_3/include/CGAL/pca_estimate_normals.h | 4 ++-- Point_set_processing_3/include/CGAL/pca_smooth_point_set.h | 4 ++-- Point_set_processing_3/include/CGAL/remove_outliers.h | 5 ++--- .../CGAL/remove_outliers_wrt_median_knn_sq_distance.h | 6 +++--- 8 files changed, 19 insertions(+), 20 deletions(-) diff --git a/Point_set_processing_3/include/CGAL/compute_average_spacing.h b/Point_set_processing_3/include/CGAL/compute_average_spacing.h index c4d3e0c234b..c4b3d6cd0f4 100644 --- a/Point_set_processing_3/include/CGAL/compute_average_spacing.h +++ b/Point_set_processing_3/include/CGAL/compute_average_spacing.h @@ -35,9 +35,9 @@ namespace CGAL { // ---------------------------------------------------------------------------- // Private section // ---------------------------------------------------------------------------- +/// \cond SKIP_IN_MANUAL namespace internal { -/// \cond SKIP_IN_MANUAL /// Computes average spacing of one query point from K nearest neighbors. /// @@ -84,9 +84,9 @@ compute_average_spacing(const typename Kernel::Point_3& query, ///< 3D point who return sum_distances / (FT)i; } +} /* namespace internal */ /// \endcond -} /* namespace internal */ // ---------------------------------------------------------------------------- diff --git a/Point_set_processing_3/include/CGAL/jet_estimate_normals.h b/Point_set_processing_3/include/CGAL/jet_estimate_normals.h index 07f8256e59f..7b746eb31c5 100644 --- a/Point_set_processing_3/include/CGAL/jet_estimate_normals.h +++ b/Point_set_processing_3/include/CGAL/jet_estimate_normals.h @@ -37,9 +37,9 @@ namespace CGAL { // ---------------------------------------------------------------------------- // Private section // ---------------------------------------------------------------------------- +/// \cond SKIP_IN_MANUAL namespace internal { -/// \cond SKIP_IN_MANUAL /// Estimates normal direction using jet fitting /// on the k nearest neighbors. @@ -101,9 +101,9 @@ jet_estimate_normal(const typename Kernel::Point_3& query, ///< point to compute return monge_form.normal_direction(); } +} /* namespace internal */ /// \endcond -} /* namespace internal */ // ---------------------------------------------------------------------------- diff --git a/Point_set_processing_3/include/CGAL/jet_smooth_point_set.h b/Point_set_processing_3/include/CGAL/jet_smooth_point_set.h index 1865a22d45d..02f6f4a1726 100644 --- a/Point_set_processing_3/include/CGAL/jet_smooth_point_set.h +++ b/Point_set_processing_3/include/CGAL/jet_smooth_point_set.h @@ -36,9 +36,10 @@ namespace CGAL { // ---------------------------------------------------------------------------- // Private section // ---------------------------------------------------------------------------- +/// \cond SKIP_IN_MANUAL + namespace internal { -/// \cond SKIP_IN_MANUAL /// Smoothes one point position using jet fitting on the k /// nearest neighbors and reprojection onto the jet. @@ -101,9 +102,10 @@ jet_smooth_point( return monge_form.origin(); } +} /* namespace internal */ + /// \endcond -} /* namespace internal */ // ---------------------------------------------------------------------------- diff --git a/Point_set_processing_3/include/CGAL/mst_orient_normals.h b/Point_set_processing_3/include/CGAL/mst_orient_normals.h index b6816a786b6..8b3dcdbff82 100644 --- a/Point_set_processing_3/include/CGAL/mst_orient_normals.h +++ b/Point_set_processing_3/include/CGAL/mst_orient_normals.h @@ -46,8 +46,8 @@ namespace CGAL { // ---------------------------------------------------------------------------- // Private section // ---------------------------------------------------------------------------- -namespace internal { /// \cond SKIP_IN_MANUAL +namespace internal { /// Generalization of std::distance() to compute the distance between 2 integers inline std::size_t @@ -523,10 +523,8 @@ create_mst_graph( return mst_graph; } -/// \endcond - } /* namespace internal */ - +/// \endcond // ---------------------------------------------------------------------------- // Public section diff --git a/Point_set_processing_3/include/CGAL/pca_estimate_normals.h b/Point_set_processing_3/include/CGAL/pca_estimate_normals.h index 178dc4449db..4115e2ccab7 100644 --- a/Point_set_processing_3/include/CGAL/pca_estimate_normals.h +++ b/Point_set_processing_3/include/CGAL/pca_estimate_normals.h @@ -38,9 +38,9 @@ namespace CGAL { // ---------------------------------------------------------------------------- // Private section // ---------------------------------------------------------------------------- +/// \cond SKIP_IN_MANUAL namespace internal { -/// \cond SKIP_IN_MANUAL /// Estimates normal direction using linear least /// squares fitting of a plane on the K nearest neighbors. @@ -93,9 +93,9 @@ pca_estimate_normal(const typename Kernel::Point_3& query, ///< point to compute return plane.orthogonal_vector(); } +} /* namespace internal */ /// \endcond -} /* namespace internal */ // ---------------------------------------------------------------------------- diff --git a/Point_set_processing_3/include/CGAL/pca_smooth_point_set.h b/Point_set_processing_3/include/CGAL/pca_smooth_point_set.h index 93be9c562c0..f2e0ddb5582 100644 --- a/Point_set_processing_3/include/CGAL/pca_smooth_point_set.h +++ b/Point_set_processing_3/include/CGAL/pca_smooth_point_set.h @@ -36,9 +36,9 @@ namespace CGAL { // ---------------------------------------------------------------------------- // Private section // ---------------------------------------------------------------------------- +/// \cond SKIP_IN_MANUAL namespace internal { -/// \cond SKIP_IN_MANUAL /// Smoothes one point position using linear least /// squares fitting of a plane (PCA) on the K @@ -93,9 +93,9 @@ pca_smooth_point( return plane.projection(query); } +} /* namespace internal */ /// \endcond -} /* namespace internal */ // ---------------------------------------------------------------------------- // Public section diff --git a/Point_set_processing_3/include/CGAL/remove_outliers.h b/Point_set_processing_3/include/CGAL/remove_outliers.h index 131c5593100..09de0adc5d3 100644 --- a/Point_set_processing_3/include/CGAL/remove_outliers.h +++ b/Point_set_processing_3/include/CGAL/remove_outliers.h @@ -35,9 +35,9 @@ namespace CGAL { // ---------------------------------------------------------------------------- // Private section // ---------------------------------------------------------------------------- +/// \cond SKIP_IN_MANUAL namespace internal { -/// \cond SKIP_IN_MANUAL /// Utility function for remove_outliers(): /// Computes average squared distance to the K nearest neighbors. @@ -91,9 +91,8 @@ compute_avg_knn_sq_distance_3( return sq_distance; } -/// \endcond - } /* namespace internal */ +/// \endcond // ---------------------------------------------------------------------------- diff --git a/Point_set_processing_3/include/CGAL/remove_outliers_wrt_median_knn_sq_distance.h b/Point_set_processing_3/include/CGAL/remove_outliers_wrt_median_knn_sq_distance.h index 7059f23587c..ac4d9d3e10d 100644 --- a/Point_set_processing_3/include/CGAL/remove_outliers_wrt_median_knn_sq_distance.h +++ b/Point_set_processing_3/include/CGAL/remove_outliers_wrt_median_knn_sq_distance.h @@ -35,9 +35,9 @@ namespace CGAL { // ---------------------------------------------------------------------------- // Private section // ---------------------------------------------------------------------------- +/// \cond SKIP_IN_MANUAL namespace internal { -/// \cond SKIP_IN_MANUAL /// Utility function for remove_outliers_wrt_median_knn_sq_distance(): /// Computes median squared distance to the K nearest neighbors. @@ -88,10 +88,10 @@ compute_median_knn_sq_distance_3( return sqd(points[k_median]/*[points.size()/2]*/, query); } -/// \endcond - } /* namespace internal */ +/// \endcond + // ---------------------------------------------------------------------------- // Public section