mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 15:07:38 +00:00
Comment out triangulation code
This commit is contained in:
@@ -87,29 +87,29 @@ CGAL::Nef_polyhedron_3<Kernel> IfcGeom::CgalKernel::create_nef_polyhedron(CGAL::
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CGAL::Polyhedron_3<Kernel> IfcGeom::CgalKernel::triangulate_faces(CGAL::Polyhedron_3<Kernel> &polyhedron) {
|
//CGAL::Polyhedron_3<Kernel> IfcGeom::CgalKernel::triangulate_faces(CGAL::Polyhedron_3<Kernel> &polyhedron) {
|
||||||
std::list<cgal_face_t> face_list;
|
// std::list<cgal_face_t> face_list;
|
||||||
|
//
|
||||||
for (CGAL::Polyhedron_3<Kernel>::Facet_const_iterator current_facet = polyhedron.facets_begin();
|
// for (CGAL::Polyhedron_3<Kernel>::Facet_const_iterator current_facet = polyhedron.facets_begin();
|
||||||
current_facet != polyhedron.facets_end();
|
// current_facet != polyhedron.facets_end();
|
||||||
++current_facet) {
|
// ++current_facet) {
|
||||||
|
//
|
||||||
// Triangle
|
// // Triangle
|
||||||
if (current_facet->is_triangle()) {
|
// if (current_facet->is_triangle()) {
|
||||||
face_list.push_back(cgal_face_t());
|
// face_list.push_back(cgal_face_t());
|
||||||
CGAL::Polyhedron_3<Kernel>::Halfedge_around_facet_const_circulator current_halfedge = current_facet->facet_begin();
|
// CGAL::Polyhedron_3<Kernel>::Halfedge_around_facet_const_circulator current_halfedge = current_facet->facet_begin();
|
||||||
do {
|
// do {
|
||||||
face_list.back().outer.push_back(current_halfedge->vertex()->point());
|
// face_list.back().outer.push_back(current_halfedge->vertex()->point());
|
||||||
++current_halfedge;
|
// ++current_halfedge;
|
||||||
} while (current_halfedge != current_facet->facet_begin());
|
// } while (current_halfedge != current_facet->facet_begin());
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
// Polygon
|
// // Polygon
|
||||||
else {
|
// else {
|
||||||
std::list<Kernel::Point_3> points_in_polygon;
|
// std::list<Kernel::Point_3> points_in_polygon;
|
||||||
|
//
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
return create_polyhedron(face_list);
|
// return create_polyhedron(face_list);
|
||||||
}
|
//}
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ namespace IfcGeom {
|
|||||||
|
|
||||||
bool convert_openings(const IfcSchema::IfcProduct* entity, const IfcSchema::IfcRelVoidsElement::list::ptr& openings, const ConversionResults& entity_shapes, const cgal_placement_t& entity_trsf, ConversionResults& cut_shapes);
|
bool convert_openings(const IfcSchema::IfcProduct* entity, const IfcSchema::IfcRelVoidsElement::list::ptr& openings, const ConversionResults& entity_shapes, const cgal_placement_t& entity_trsf, ConversionResults& cut_shapes);
|
||||||
|
|
||||||
CGAL::Polyhedron_3<Kernel> triangulate_faces(CGAL::Polyhedron_3<Kernel> &polyhedron);
|
// CGAL::Polyhedron_3<Kernel> triangulate_faces(CGAL::Polyhedron_3<Kernel> &polyhedron);
|
||||||
CGAL::Polyhedron_3<Kernel> create_polyhedron(std::list<cgal_face_t> &face_list);
|
CGAL::Polyhedron_3<Kernel> create_polyhedron(std::list<cgal_face_t> &face_list);
|
||||||
CGAL::Polyhedron_3<Kernel> create_polyhedron(CGAL::Nef_polyhedron_3<Kernel> &nef_polyhedron);
|
CGAL::Polyhedron_3<Kernel> create_polyhedron(CGAL::Nef_polyhedron_3<Kernel> &nef_polyhedron);
|
||||||
CGAL::Nef_polyhedron_3<Kernel> create_nef_polyhedron(std::list<cgal_face_t> &face_list);
|
CGAL::Nef_polyhedron_3<Kernel> create_nef_polyhedron(std::list<cgal_face_t> &face_list);
|
||||||
|
|||||||
Reference in New Issue
Block a user