Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/geom.git] / src / NMTTools / NMTTools_PaveFiller_1.cxx
index 8685855c00e58fce5ffa541f6f4a760e0f6312d1..0f566f21865a3555eac7a1a3d60ac8778ac2e59d 100644 (file)
@@ -1,30 +1,31 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2003-2007  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 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-// File:       NMTTools_PaveFiller_1.cxx
-// Created:    Mon Dec  8 11:47:55 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
+
+// File:        NMTTools_PaveFiller_1.cxx
+// Created:     Mon Dec  8 11:47:55 2003
+// Author:      Peter KURNEV
+//              <pkv@irinox>
 //
-#include <NMTTools_PaveFiller.ixx>
+#include <NMTTools_PaveFiller.hxx>
 
 #include <TColStd_DataMapOfIntegerListOfInteger.hxx>
 #include <TColStd_ListOfInteger.hxx>
@@ -50,9 +51,9 @@
 
 //=======================================================================
 // function: PerformVV
-// purpose: 
+// purpose:
 //=======================================================================
-  void NMTTools_PaveFiller::PerformVV() 
+  void NMTTools_PaveFiller::PerformVV()
 {
   myIsDone=Standard_False;
   //
     for (i=0; aItX.More(); aItX.Next(), ++i) {
       aItY.Initialize(aLIX);
       for (j=0; aItY.More(); aItY.Next(), ++j) {
-       if (j>i) {
-         n1=aItX.Value();
-         n2=aItY.Value();
-         myIP->Add(n1, n2, Standard_True, NMTDS_TI_VV);
-         //
-         BOPTools_VVInterference aVV(n1, n2);
-         aVV.SetNewShape(nVnew);
-         aVVs.Append(aVV);    
-       }
+        if (j>i) {
+          n1=aItX.Value();
+          n2=aItY.Value();
+          myIP->Add(n1, n2, Standard_True, NMTDS_TI_VV);
+          //
+          BOPTools_VVInterference aVV(n1, n2);
+          aVV.SetNewShape(nVnew);
+          aVVs.Append(aVV);
+        }
       }
     }
   }//for (; aIt1.More(); aIt1.Next()) {
 }
 //=======================================================================
 // function: FindSDVertex
-// purpose: 
+// purpose:
 //=======================================================================
   Standard_Integer NMTTools_PaveFiller::FindSDVertex(const Standard_Integer nV)const
 {
 /*
 //=======================================================================
 // function: PerformNewVertices
-// purpose: 
+// purpose:
 //=======================================================================
-  void NMTTools_PaveFiller::PerformNewVertices() 
+  void NMTTools_PaveFiller::PerformNewVertices()
 {
 }
 */