diff --git a/Poisson_surface_reconstruction_3/include/CGAL/poisson_surface_reconstruction.h b/Poisson_surface_reconstruction_3/include/CGAL/poisson_surface_reconstruction.h index ba0a2d3c606..f5ed7340607 100644 --- a/Poisson_surface_reconstruction_3/include/CGAL/poisson_surface_reconstruction.h +++ b/Poisson_surface_reconstruction_3/include/CGAL/poisson_surface_reconstruction.h @@ -20,8 +20,6 @@ #ifndef CGAL_POISSON_SURFACE_RECONSTRUCTION_H #define CGAL_POISSON_SURFACE_RECONSTRUCTION_H -#include -#include #include #include #include @@ -34,26 +32,25 @@ namespace CGAL { template class HDS, - typename Alloc> + typename PolygonMesh> bool poisson_surface_reconstruction(PointInputIterator begin, PointInputIterator end, PointMap point_map, NormalMap normal_map, - Polyhedron_3& output_mesh, - typename Kernel::FT sm_angle = 20.0, - typename Kernel::FT sm_radius = 30.0, - typename Kernel::FT sm_distance = 0.375) + PolygonMesh& output_mesh, + double sm_angle = 20.0, + double sm_radius = 30.0, + double sm_distance = 0.375) { + typedef typename boost::property_traits::value_type Point; + typedef typename Kernel_traits::Kernel Kernel; typedef typename Kernel::FT FT; - typedef typename Kernel::Point_3 Point; typedef typename Kernel::Sphere_3 Sphere; + typedef CGAL::Poisson_reconstruction_function Poisson_reconstruction_function; typedef CGAL::Surface_mesh_default_triangulation_3 STr; typedef CGAL::Surface_mesh_complex_2_in_triangulation_3 C2t3;