diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 9acee5abb7..9568e46918 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -89,7 +89,7 @@ #include -#include +#include #include #include @@ -568,7 +568,7 @@ double IfcGeom::Kernel::getValue(GeomValue var) { } IfcSchema::IfcProductDefinitionShape* IfcGeom::tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es) { - BRepMesh::Mesh(shape, deflection); + BRepMesh_IncrementalMesh(shape, deflection); IfcSchema::IfcFace::list::ptr faces (new IfcSchema::IfcFace::list);