From 513fb19c5c128faf4dabdfe782aa28ce3f261e8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 3 Feb 2014 08:01:49 +0100 Subject: [PATCH] the point property map was not passed to averange_spacing function --- .../include/CGAL/Poisson_reconstruction_function.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h b/Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h index 349c2c76c4d..0d18c39329e 100644 --- a/Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h +++ b/Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h @@ -303,7 +303,7 @@ public: NormalPMap normal_pmap ///< property map: `value_type of InputIterator` -> `Vector` (the *oriented* normal of an input point). ) : m_tr(new Triangulation), m_Bary(new std::vector > ) - , average_spacing(CGAL::compute_average_spacing(first, beyond, 6)) + , average_spacing(CGAL::compute_average_spacing(first, beyond, point_pmap, 6)) { forward_constructor(first, beyond, point_pmap, normal_pmap, Poisson_visitor()); } @@ -321,7 +321,7 @@ public: NormalPMap normal_pmap, ///< property map: `value_type of InputIterator` -> `Vector` (the *oriented* normal of an input point). Visitor visitor) : m_tr(new Triangulation), m_Bary(new std::vector > ) - , average_spacing(CGAL::compute_average_spacing(first, beyond, 6)) + , average_spacing(CGAL::compute_average_spacing(first, beyond, point_pmap, 6)) { forward_constructor(first, beyond, point_pmap, normal_pmap, visitor); }