diff --git a/Skin_surface_3/include/CGAL/make_skin_surface_mesh_3.h b/Skin_surface_3/include/CGAL/make_skin_surface_mesh_3.h index 26c404a7566..53a48f374a5 100644 --- a/Skin_surface_3/include/CGAL/make_skin_surface_mesh_3.h +++ b/Skin_surface_3/include/CGAL/make_skin_surface_mesh_3.h @@ -20,7 +20,6 @@ #ifndef CGAL_MAKE_SKIN_SURFACE_MESH_3_H #define CGAL_MAKE_SKIN_SURFACE_MESH_3_H -#include #include #include #include @@ -42,11 +41,10 @@ void make_skin_surface_mesh_3(Polyhedron_3 &p, make_union_of_balls_mesh_3(p,begin,end,nSubdivisions); } + typedef typename WP_iterator::value_type Weighted_point; - typedef typename Weighted_point::Point Point; - typedef typename Point::R K; + typedef typename Kernel_traits::Kernel K; -// typedef Exact_predicates_inexact_constructions_kernel K; typedef Skin_surface_traits_3 Traits; typedef Skin_surface_3 Skin_surface; diff --git a/Skin_surface_3/include/CGAL/make_union_of_balls_3.h b/Skin_surface_3/include/CGAL/make_union_of_balls_3.h index 3f04618115c..2f3799bb9d2 100644 --- a/Skin_surface_3/include/CGAL/make_union_of_balls_3.h +++ b/Skin_surface_3/include/CGAL/make_union_of_balls_3.h @@ -20,7 +20,6 @@ #ifndef CGAL_MAKE_UNION_OF_BALLS_MESH_3_H #define CGAL_MAKE_UNION_OF_BALLS_MESH_3_H -#include #include #include #include @@ -36,7 +35,9 @@ void make_union_of_balls_mesh_3(Polyhedron_3 &p, WP_iterator begin, WP_iterator end, int nSubdivisions=0) { - typedef Exact_predicates_inexact_constructions_kernel K; + typedef typename WP_iterator::value_type Weighted_point; + typedef typename Kernel_traits::Kernel K; + typedef Skin_surface_traits_3 Traits; typedef Union_of_balls_3 Union_of_balls;