]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAlgoAPI/GeomAlgoAPI_Intersection.cpp
Salome HOME
Merge branch 'jfa/40620_ExportXAO_separate_BREP'
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Intersection.cpp
index 8ab6a1b07dfdc14c465c10da63f8c777bfe4c608..46c3e51c1861f93984cf0e265a7fe490739c7477 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2022  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -67,7 +67,7 @@ void GeomAlgoAPI_Intersection::build(const ListOfShape& theObjects, const double
   aDSFiller->SetRunParallel(false);
   aDSFiller->SetNonDestructive(false);
   aDSFiller->SetGlue(BOPAlgo_GlueOff);
-  if (theFuzzy >= 1.e-7) aDSFiller->SetFuzzyValue(theFuzzy);
+  if (theFuzzy > 0) aDSFiller->SetFuzzyValue(theFuzzy);
 
   // optimization for the issue #2399
   BOPAlgo_SectionAttribute theSecAttr(Standard_True,
@@ -83,7 +83,7 @@ void GeomAlgoAPI_Intersection::build(const ListOfShape& theObjects, const double
   anOperation->SetArguments(anObjects);
   anOperation->SetRunParallel(false);
   anOperation->SetCheckInverted(true);
-  if (theFuzzy >= 1.e-7) anOperation->SetFuzzyValue(theFuzzy);
+  if (theFuzzy > 0) anOperation->SetFuzzyValue(theFuzzy);
 
   anOperation->PerformWithFiller(*aDSFiller); // it references a filler fields, so keep the filler
   myFiller = 0;