Salome HOME
[EDF20032] : Algorithm is less strict to support new configuration
[modules/yacs.git] / src / engine / SetOfPoints.cxx
index 025edd9595fb2cb809060f386891fdb6b6e871d3..7264f2f8215f4995526f89df2f8aa9e6f284e22b 100644 (file)
@@ -58,6 +58,9 @@ void SetOfPoints::basicSimplify()
       if(somethingDone)
         continue;
       _bp->deal2Ter(somethingDone);
+      if(somethingDone)
+        continue;
+      _bp->deal2Quatro(somethingDone);
       if(!somethingDone)
         throw Exception("SetOfPoints::simplify : not implemented yet !\nPlease check if there are any recursively redundant links (can be removed by removeRecursivelyRedundantCL method).");
     }
@@ -78,6 +81,9 @@ void SetOfPoints::simplify()
       if(somethingDone)
         continue;
       _bp->deal2Ter(somethingDone);
+      if(somethingDone)
+        continue;
+      _bp->deal2Quatro(somethingDone);
       if(somethingDone)
         continue;
       _bp->dealNotSimpleCase(somethingDone);