Salome HOME
NPAL19769: Null rotation do a translation (sometime).
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Builder.cxx
index c7a902f0634be1c7e36f1fab7780d7fea680ac06..cd422a419a9ddb7b98edde60b15f76e7830b0f9a 100644 (file)
@@ -1,3 +1,22 @@
+// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 // File:       NMTAlgo_Inter3d.cxx
 // Created:    Tue Jan 27 15:14:13 2004
 // Author:     Peter KURNEV
       continue;
     }
     //
+    //modified by NIZNHY-PKV Fri Jan 21 17:01:10 2005 f
+    if (aNbSp==1) {
+      const BOPTools_PaveBlock& aPB1=aLPB.First();
+      const BOPTools_PaveBlock& aPBR1=pPF->RealPaveBlock(aPB1);
+      nSp=aPBR1.Edge();
+      const TopoDS_Shape& aSp1=aDS.Shape(nSp);
+      if (aSp1.IsSame(aE)) {
+       continue;
+      }
+    }
+    //modified by NIZNHY-PKV Fri Jan 21 17:01:14 2005 t
+    //
     aLSp.Clear();
     aIt.Initialize(aLPB);
     for (; aIt.More(); aIt.Next()) {