diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 3027772031..f88029cc23 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -87,7 +87,7 @@ #include -#include +#include #include #include @@ -513,7 +513,7 @@ double IfcGeom::GetValue(GeomValue var) { } Ifc2x3::IfcProductDefinitionShape* IfcGeom::tesselate(TopoDS_Shape& shape, double deflection, IfcEntities es) { - BRepMesh::Mesh(shape, deflection); + BRepMesh_IncrementalMesh(shape, deflection); Ifc2x3::IfcFace::list faces (new IfcTemplatedEntityList());