From f0885f21916d6adcee0aede81b1ebbcf1ee266aa Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 17 Jan 2007 16:34:54 +0000 Subject: [PATCH] Added overload of the 'clear' function --- .../include/CGAL/Triangulation_from_slices_3.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Reconstruction_from_slices_3/include/CGAL/Triangulation_from_slices_3.h b/Reconstruction_from_slices_3/include/CGAL/Triangulation_from_slices_3.h index 10e61007951..57a3c5b1824 100644 --- a/Reconstruction_from_slices_3/include/CGAL/Triangulation_from_slices_3.h +++ b/Reconstruction_from_slices_3/include/CGAL/Triangulation_from_slices_3.h @@ -199,6 +199,13 @@ class Triangulation_from_slices_3 : public Triangulation_3 CGAL_triangulation_postcondition( is_valid() ); } + void clear() + { + Tr_Base::clear(); + slices.clear(); + } + + template void load(const char* slc_file_name); //Precondition : the triangulation must contain no points */