mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
Clash: Increase robustness of processing triangulated elements - skip empty #7467
This commit is contained in:
@@ -1792,6 +1792,10 @@ namespace IfcGeom {
|
||||
auto& vs = elem->geometry().verts();
|
||||
auto& fs = elem->geometry().faces();
|
||||
|
||||
if (vs.empty() || fs.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
gp_Trsf tr;
|
||||
tr.SetValues(
|
||||
m(0, 0), m(0, 1), m(0, 2), m(0, 3),
|
||||
|
||||
Reference in New Issue
Block a user