mirror of https://github.com/CGAL/cgal
Fix inclusions
This commit is contained in:
parent
51511f6267
commit
0ba13e5beb
|
|
@ -31,6 +31,9 @@
|
|||
#include <CGAL/Polygon_mesh_processing/orient_polygon_soup.h>
|
||||
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
|
||||
|
||||
#include "Scene_polygon_soup_item.h"
|
||||
#include "Scene_polyhedron_item.h"
|
||||
|
||||
|
||||
typedef CGAL::AABB_triangulation_3_triangle_primitive<Kernel,C3t3> Primitive;
|
||||
typedef CGAL::AABB_traits<Kernel, Primitive> Traits;
|
||||
|
|
@ -1308,16 +1311,15 @@ void Scene_c3t3_item::export_facets_in_complex()
|
|||
}
|
||||
|
||||
namespace PMP = CGAL::Polygon_mesh_processing;
|
||||
Polyhedron outmesh;
|
||||
|
||||
if (PMP::is_polygon_soup_a_polygon_mesh(polygons))
|
||||
{
|
||||
CGAL_assertion_code(bool orientable = )
|
||||
PMP::orient_polygon_soup(points, polygons);
|
||||
CGAL_assertion(orientable);
|
||||
|
||||
Polyhedron outmesh;
|
||||
PMP::polygon_soup_to_polygon_mesh(points, polygons, outmesh);
|
||||
Scene_polyhedron_item* item = new Scene_polyhedron_item(outmesh);
|
||||
Scene_polyhedron_item* item = new Scene_polyhedron_item(std::move(outmesh));
|
||||
item->setName(QString("%1_%2").arg(this->name()).arg("facets"));
|
||||
scene->addItem(item);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
#include <CGAL/Three/Viewer_interface.h>
|
||||
#include <CGAL/Three/Scene_group_item.h>
|
||||
#include <Scene_polyhedron_item.h>
|
||||
#include <Scene_polygon_soup_item.h>
|
||||
#include <CGAL/IO/File_binary_mesh_3.h>
|
||||
#include <CGAL/Three/Scene_item_with_properties.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue