todo note

This commit is contained in:
Thomas Krijnen
2022-03-19 11:36:38 +01:00
parent d45a439f6c
commit 2049bdd976
+1
View File
@@ -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) {