diff --git a/Skin_surface_3/include/CGAL/Skin_surface_3.h b/Skin_surface_3/include/CGAL/Skin_surface_3.h index e539d79a327..a56b517ba33 100644 --- a/Skin_surface_3/include/CGAL/Skin_surface_3.h +++ b/Skin_surface_3/include/CGAL/Skin_surface_3.h @@ -107,16 +107,6 @@ Skin_surface_3(WP_iterator begin, WP_iterator end, observer, verbose); CGAL_assertion(triangulated_mixed_complex().dimension() == 3); -// { // NGHK: debug code: -// CGAL_assertion(triangulated_mixed_complex().is_valid()); -// std::vector ch_vertices; -// triangulated_mixed_complex().incident_vertices(triangulated_mixed_complex().infinite_vertex(), -// std::back_inserter(ch_vertices)); -// for (typename std::vector::iterator -// vit = ch_vertices.begin(); vit != ch_vertices.end(); vit++) { -// CGAL_assertion(sign(*vit) == POSITIVE); -// } -// } } CGAL_END_NAMESPACE diff --git a/Skin_surface_3/include/CGAL/Skin_surface_base_3.h b/Skin_surface_3/include/CGAL/Skin_surface_base_3.h index 67d0daf4c27..c3ad592a9cd 100644 --- a/Skin_surface_3/include/CGAL/Skin_surface_base_3.h +++ b/Skin_surface_3/include/CGAL/Skin_surface_base_3.h @@ -247,8 +247,6 @@ template void Skin_surface_base_3:: subdivide_mesh_3(Polyhedron_3 &p) const { - std::cout << "Skin_surface_base_3.subdivide_mesh_3(p)" << std::endl; - typedef Skin_surface_refinement_policy_3 Policy; typedef Skin_surface_sqrt3 Subdivider; diff --git a/Skin_surface_3/include/CGAL/Skin_surface_marching_tetrahedra_observer_3.h b/Skin_surface_3/include/CGAL/Skin_surface_marching_tetrahedra_observer_3.h index 60cff4cbcc6..537ff94c3bb 100644 --- a/Skin_surface_3/include/CGAL/Skin_surface_marching_tetrahedra_observer_3.h +++ b/Skin_surface_3/include/CGAL/Skin_surface_marching_tetrahedra_observer_3.h @@ -39,8 +39,6 @@ class Skin_surface_marching_tetrahedra_observer_3 public: Skin_surface_marching_tetrahedra_observer_3() : Base() { - std::cout << "Default Skin_surface_marching_tetrahedra_observer_3" - << std::endl; } }; @@ -70,8 +68,6 @@ public: typedef typename Polyhedron::Facet_handle Polyhedron_facet_handle; Skin_surface_marching_tetrahedra_observer_3() : Base() { - std::cout << "Optimized Skin_surface_marching_tetrahedra_observer_3" - << std::endl; } Skin_surface_marching_tetrahedra_observer_3( diff --git a/Skin_surface_3/include/CGAL/Skin_surface_refinement_policy_3.h b/Skin_surface_3/include/CGAL/Skin_surface_refinement_policy_3.h index dfb2c9f2007..6bd539b81ff 100644 --- a/Skin_surface_3/include/CGAL/Skin_surface_refinement_policy_3.h +++ b/Skin_surface_3/include/CGAL/Skin_surface_refinement_policy_3.h @@ -43,7 +43,8 @@ public: typedef typename P_traits::Vector_3 P_vector; typedef typename P_traits::Plane_3 P_plane; - Skin_surface_refinement_policy_3(Skin_surface const& skin) : ss_3(skin) {} + Skin_surface_refinement_policy_3(Skin_surface const& skin) : ss_3(skin) { + } P_point to_surface(P_vertex_handle vh) const { @@ -70,14 +71,14 @@ protected: Skin_surface const &ss_3; }; -template +template class Skin_surface_refinement_policy_3< - SkinSurface_3, + SkinSurfaceBase_3, Polyhedron_3 > > { public: - typedef SkinSurface_3 Skin_surface; + typedef SkinSurfaceBase_3 Skin_surface; typedef Polyhedron_3 > Polyhedron; typedef typename Polyhedron::Traits P_traits; @@ -91,7 +92,8 @@ public: typedef typename P_traits::Vector_3 P_vector; typedef typename P_traits::Plane_3 P_plane; - Skin_surface_refinement_policy_3(Skin_surface const& skin) : ss_3(skin) {} + Skin_surface_refinement_policy_3(Skin_surface const& skin) : ss_3(skin) { + } P_point to_surface(P_vertex_handle vh) const { typename Skin_surface::Bare_point result = diff --git a/Skin_surface_3/include/CGAL/subdivide_skin_surface_mesh_3.h b/Skin_surface_3/include/CGAL/subdivide_skin_surface_mesh_3.h index 62dc8b32254..2461f830bf9 100644 --- a/Skin_surface_3/include/CGAL/subdivide_skin_surface_mesh_3.h +++ b/Skin_surface_3/include/CGAL/subdivide_skin_surface_mesh_3.h @@ -119,8 +119,6 @@ private: do { v->point() = policy.to_surface(v); } while (++v != last_v); - - CGAL_postcondition( P.is_valid()); } //*********************************************