]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
Fix a pb with recursively redundant links
authorLauffenburger Thomas <thomas.lauffenburger@edf.fr>
Tue, 6 Jun 2017 07:34:52 +0000 (09:34 +0200)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 9 Jun 2017 12:15:27 +0000 (14:15 +0200)
Signed-off-by: Ovidiu Mircescu <ovidiu.mircescu@edf.fr>
src/engine/Bloc_impl.cxx
src/engine/SetOfPoints.cxx

index d3f3c6f83050f000e652e0875178c61fedabcf1b..ba636e44265251b0677665be11dabd2358809eae 100644 (file)
@@ -86,6 +86,7 @@ void Bloc::fitToPlayGround(const PlayGround *pg)
   };
   YACS::BASES::AutoRefCnt<PartDefinition> pd(new AllPartDefinition(pg,1));
   std::map<ComposedNode *,YACS::BASES::AutoRefCnt<PartDefinition> > zeMap;
+  this->removeRecursivelyRedundantCL();
   this->partitionRegardingDPL(pd,zeMap);
   MyVisitor vis(this);
   this->accept(&vis);
index e869b88ca2ad2695635005ffceaad6cd76f7527b..39d787168b8b6f4ce8914b3701415e0f57565a3c 100644 (file)
@@ -61,7 +61,7 @@ void SetOfPoints::simplify()
         continue;
       _bp->deal2Ter(somethingDone);
       if(!somethingDone)
-        throw Exception("SetOfPoints::simplify : not implemented yet !");
+        throw Exception("SetOfPoints::simplify : not implemented yet !\nPlease check if there are any recursively redundant links (can be removed by removeRecursivelyRedundantCL method).");
     }
 }