Skip to content

Commit 4bbb6cd

Browse files
committed
#3305 Less pessimistic tolerance comparison in newells method
1 parent 9411a1d commit 4bbb6cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ifcgeom_schema_agnostic/wire_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ bool IfcGeom::util::approximate_plane_through_wire(const TopoDS_Wire& wire, gp_P
8484
// the given points to the constructed plane. When doing triangulation and
8585
// obtaining a 2d points for the Delaunay, infinity is passed here, so this
8686
// can't for assessing degenerativeness.
87-
if (v.SquareMagnitude() < 1.e-7) {
87+
if (v.Magnitude() < 1.e-7) {
8888
Logger::Warning("Degenerate face boundary in normal estimation");
8989
return false;
9090
}

0 commit comments

Comments
 (0)