diff --git a/src/ifcgeom/IfcGeomRepresentation.h b/src/ifcgeom/IfcGeomRepresentation.h index 2b46151265..f6d3e9900b 100644 --- a/src/ifcgeom/IfcGeomRepresentation.h +++ b/src/ifcgeom/IfcGeomRepresentation.h @@ -20,7 +20,7 @@ #ifndef IFCGEOMREPRESENTATION_H #define IFCGEOMREPRESENTATION_H -#include +#include #include #include @@ -143,8 +143,7 @@ namespace IfcGeom { // Triangulate the shape try { - // BRepTools::Clean(s); - BRepMesh::Mesh(s, settings().deflection_tolerance()); + BRepMesh_IncrementalMesh(s, settings().deflection_tolerance()); } catch(...) { // TODO: Catch outside