// Copyright (c) 2005 Rijksuniversiteit Groningen (Netherlands) // All rights reserved. // // This file is part of CGAL (www.cgal.org). // // $URL: https://github.com/CGAL/cgal/blob/v5.2/Skin_surface_3/include/CGAL/make_union_of_balls_3.h $ // $Id: make_union_of_balls_3.h 254d60f 2019-10-19T15:23:19+02:00 Sébastien Loriot // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // // // Author(s) : Nico Kruithof #ifndef CGAL_MAKE_UNION_OF_BALLS_MESH_3_H #define CGAL_MAKE_UNION_OF_BALLS_MESH_3_H #include #include #include #include #include #include namespace CGAL { template void make_union_of_balls_mesh_3(Polyhedron_3 &p, WP_iterator begin, WP_iterator end, int nSubdivisions=0) { 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; Union_of_balls union_of_balls(begin, end); CGAL::mesh_union_of_balls_3(union_of_balls, p); CGAL::subdivide_union_of_balls_mesh_3(union_of_balls, p, nSubdivisions); } } //namespace CGAL #endif // CGAL_MAKE_UNION_OF_BALLS_MESH_3_H