diff --git a/src/ifcgeom/IfcGeom.h b/src/ifcgeom/IfcGeom.h index f7216a8689..3d4fcf769f 100644 --- a/src/ifcgeom/IfcGeom.h +++ b/src/ifcgeom/IfcGeom.h @@ -123,7 +123,6 @@ public: void setValue(GeomValue var, double value); double getValue(GeomValue var); bool fill_nonmanifold_wires_with_planar_faces(TopoDS_Shape& shape); - IfcSchema::IfcProductDefinitionShape* tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es); void remove_redundant_points_from_loop(TColgp_SequenceOfPnt& polygon, bool closed, double tol=-1.); std::pair initializeUnits(IfcSchema::IfcUnitAssignment*); @@ -179,5 +178,7 @@ public: }; +IfcSchema::IfcProductDefinitionShape* tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es); + } #endif diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index ec5d0740ce..5f24a83dfa 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -567,7 +567,7 @@ double IfcGeom::Kernel::getValue(GeomValue var) { return 0; } -IfcSchema::IfcProductDefinitionShape* IfcGeom::Kernel::tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es) { +IfcSchema::IfcProductDefinitionShape* IfcGeom::tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es) { BRepMesh::Mesh(shape, deflection); IfcSchema::IfcFace::list::ptr faces (new IfcSchema::IfcFace::list); diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/IfcParse.cpp index cf3c83a934..10aaeb1554 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/IfcParse.cpp @@ -750,7 +750,6 @@ IfcFile::IfcFile(bool create_latebound_entities) // // Parses the IFC file in fn // Creates the maps -// Gets the unit definitins from the file // bool IfcFile::Init(const std::string& fn) { return IfcFile::Init(new IfcSpfStream(fn));