mirror of https://github.com/CGAL/cgal
remove tmp file generated
This commit is contained in:
parent
ec80cdddc3
commit
2d67765426
|
|
@ -94,6 +94,7 @@ void CGAL_Lab_kernel_plugin::on_actionKernel_triggered()
|
||||||
|
|
||||||
// get inside point
|
// get inside point
|
||||||
Point inside_point = kernel.inside_point();
|
Point inside_point = kernel.inside_point();
|
||||||
|
|
||||||
Vector translate = inside_point - CGAL::ORIGIN;
|
Vector translate = inside_point - CGAL::ORIGIN;
|
||||||
|
|
||||||
// compute dual of translated polyhedron w.r.t. inside point.
|
// compute dual of translated polyhedron w.r.t. inside point.
|
||||||
|
|
@ -131,9 +132,6 @@ void CGAL_Lab_kernel_plugin::on_actionKernel_triggered()
|
||||||
typedef CGAL::Dual<SMesh> Dual;
|
typedef CGAL::Dual<SMesh> Dual;
|
||||||
typedef boost::graph_traits<Dual>::vertex_descriptor dual_vertex_descriptor;
|
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);
|
Dual dual(convex_hull);
|
||||||
|
|
||||||
std::map<dual_vertex_descriptor,Point> vpm;
|
std::map<dual_vertex_descriptor,Point> vpm;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue