Skip to content

Commit

Permalink
remove tmp file generated
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Jul 22, 2024
1 parent ec80cdd commit f1f5ed4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Lab/demo/Lab/Plugins/Convex_hull/Kernel_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ void CGAL_Lab_kernel_plugin::on_actionKernel_triggered()

// get inside point
Point inside_point = kernel.inside_point();
std::cout << std::setprecision(17) << inside_point << "\n";
Vector translate = inside_point - CGAL::ORIGIN;

// compute dual of translated polyhedron w.r.t. inside point.
Expand Down Expand Up @@ -131,9 +132,6 @@ void CGAL_Lab_kernel_plugin::on_actionKernel_triggered()
typedef CGAL::Dual<SMesh> Dual;
typedef boost::graph_traits<Dual>::vertex_descriptor dual_vertex_descriptor;

std::ofstream out("primal.off");
out << convex_hull << std::endl;
out.close();
Dual dual(convex_hull);

std::map<dual_vertex_descriptor,Point> vpm;
Expand Down

0 comments on commit f1f5ed4

Please sign in to comment.