From 2049bdd976fd764fda77760b4c2e5806dc1f005c Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sat, 19 Mar 2022 11:36:38 +0100 Subject: [PATCH] todo note --- src/ifcgeom/IfcGeomWires.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcgeom/IfcGeomWires.cpp b/src/ifcgeom/IfcGeomWires.cpp index 93beea10d7..003ebe1af0 100644 --- a/src/ifcgeom/IfcGeomWires.cpp +++ b/src/ifcgeom/IfcGeomWires.cpp @@ -681,6 +681,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcPolyline* l, TopoDS_Wire& resu polygon.Append(pnt); } + // @todo the strict tolerance should also govern these arbitrary precision increases const double eps = getValue(GV_PRECISION) * 10; const bool closed_by_proximity = polygon.Length() >= 3 && polygon.First().Distance(polygon.Last()) < eps; if (closed_by_proximity) {