mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Fix previous commit
This commit is contained in:
@@ -443,7 +443,7 @@ public:
|
||||
|
||||
for (auto& part : elem->geometry()) {
|
||||
TopExp_Explorer exp(part.Shape(), TopAbs_FACE);
|
||||
while (exp.More()) {
|
||||
for (; exp.More(); exp.Next()) {
|
||||
GProp_GProps prop;
|
||||
BRepGProp::SurfaceProperties(exp.Current(), prop);
|
||||
const double area = prop.Mass();
|
||||
|
||||
Reference in New Issue
Block a user