#2805 IfcGeom updates

This commit is contained in:
Thomas Krijnen
2023-06-22 12:07:10 +02:00
parent 0bb9bcd9fb
commit e9d0b8ab66
8 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -23,9 +23,9 @@
#define Kernel MAKE_TYPE_NAME(Kernel)
bool IfcGeom::Kernel::convert(const IfcSchema::IfcShellBasedSurfaceModel* l, IfcRepresentationShapeItems& shapes) {
aggregate_of_instance::ptr shells = l->SbsmBoundary();
auto shells = l->SbsmBoundary();
auto collective_style = get_style(l);
for( aggregate_of_instance::it it = shells->begin(); it != shells->end(); ++ it ) {
for(auto it = shells->begin(); it != shells->end(); ++ it) {
TopoDS_Shape s;
decltype(collective_style) shell_style;
if ((*it)->declaration().is(IfcSchema::IfcRepresentationItem::Class())) {