mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-06 12:26:26 +00:00
port: adapt cherry-picked ifcgeom code to wgpu APIs
Fixes clean-but-broken breakage from replayed v0.8.0 commits that compiled on v0.8.0's API but not wgpu's renamed one (caught by the checkpoint build, not by any merge conflict): - face.cpp: logger().Warning -> warning (from #527) - IfcAsymmetricIShapeProfileDef.cpp (from #1367): map_impl takes a reference not a pointer (matches wgpu's BIND convention); inst-> -> inst.; boost get_value_or -> std::optional value_or; logger_.Message/Logger:: -> message/::logger:: - IfcTriangulatedFaceSet.cpp: inst->PnIndex() -> inst. (my own port slip; wgpu's triangulated map_impl is also a reference) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -371,7 +371,7 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re
|
||||
for (size_t j = 0; j < i && !reported; ++j) {
|
||||
BRepExtrema_DistShapeShape dss(fwires[i], fwires[j]);
|
||||
if (dss.IsDone() && dss.Value() < precision_) {
|
||||
logger().Warning("GEO", 402, "Face inner boundary intersects another face boundary", face->instance);
|
||||
logger().warning("GEO", 402, "Face inner boundary intersects another face boundary", face->instance);
|
||||
reported = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user