We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9411a1d commit 4bbb6cdCopy full SHA for 4bbb6cd
1 file changed
src/ifcgeom_schema_agnostic/wire_utils.cpp
@@ -84,7 +84,7 @@ bool IfcGeom::util::approximate_plane_through_wire(const TopoDS_Wire& wire, gp_P
84
// the given points to the constructed plane. When doing triangulation and
85
// obtaining a 2d points for the Delaunay, infinity is passed here, so this
86
// can't for assessing degenerativeness.
87
- if (v.SquareMagnitude() < 1.e-7) {
+ if (v.Magnitude() < 1.e-7) {
88
Logger::Warning("Degenerate face boundary in normal estimation");
89
return false;
90
}
0 commit comments