From 90cc72151e7df7c5ccf743c20ee933a39e161e5f Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Fri, 30 Oct 2015 13:16:49 +0100 Subject: [PATCH] remove useless and costly output_to_medit --- .../Polyhedron/Polyhedron_demo_mesh_3_plugin_cgal_code.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin_cgal_code.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin_cgal_code.cpp index 79c9945d979..c8f0748b240 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin_cgal_code.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin_cgal_code.cpp @@ -12,8 +12,6 @@ #include "Mesh_function.h" -#include - #include // Mesh Criteria @@ -77,9 +75,6 @@ Scene_item* cgal_code_mesh_3(const Polyhedron* pMesh, if(new_item->c3t3().triangulation().number_of_vertices() > 0) { - std::ofstream medit_out("out.mesh"); - new_item->c3t3().output_to_medit(medit_out); - const Scene_item::Bbox& bbox = new_item->bbox(); new_item->setPosition((float)(bbox.xmin + bbox.xmax)/2.f, (float)(bbox.ymin + bbox.ymax)/2.f,