Salome HOME
Mantis issue 0020894: EDF 1421 GEOM: Partition Bug with big geometrical objects....
[modules/geom.git] / src / NMTTools / NMTTools_CheckerSI_1.cxx
index 36ab867df44e345ba255f7aaedbf32dd39f9a1ad..9bd2d65157db856f2dfd8cf670605f4c6c065ad5 100755 (executable)
@@ -1,27 +1,26 @@
-// Copyright (C) 2006 SAMTECH
-// 
-// 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.
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-// 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
+//  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.
 //
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//  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:       NMTTools_CheckerSI.cxx
-// Created:    Mon Feb 19 11:32:08 2007
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
 
+// File:        NMTTools_CheckerSI.cxx
+// Created:     Mon Feb 19 11:32:08 2007
+// Author:      Peter KURNEV
+//
 #include <NMTTools_CheckerSI.ixx>
 #include <NMTDS_ShapesDataStructure.hxx>
 #include <NMTDS_IteratorCheckerSI.hxx>
 
 static
   Standard_Boolean IsValid(const TopoDS_Edge& aE,
-                          const TopoDS_Vertex& aV,
-                          const Standard_Real aTV1,
-                          const Standard_Real aTV2);
+                           const TopoDS_Vertex& aV,
+                           const Standard_Real aTV1,
+                           const Standard_Real aTV2);
 
 //=======================================================================
 // function: PreparePaveBlocks
 // purpose: 
 //=======================================================================
   void NMTTools_CheckerSI::PreparePaveBlocks(const TopAbs_ShapeEnum aType1, 
-                                            const TopAbs_ShapeEnum aType2)
+                                             const TopAbs_ShapeEnum aType2)
 {
   NMTTools_PaveFiller::PreparePaveBlocks(aType1, aType2);
 }
@@ -104,8 +103,8 @@ static
     if (nV1==nV2) {
       bIsValid=IsValid(aE, aV1, aT1, aT2);
       if (!bIsValid) {
-       //printf(" pb SR: nV    nE: %d  nV1:( %d %15.10lf ) nV2:( %d %15.10lf )\n", nE, nV1, aT1, nV2, aT2);
-       myStopStatus=1;
+        //printf(" pb SR: nV    nE: %d  nV1:( %d %15.10lf ) nV2:( %d %15.10lf )\n", nE, nV1, aT1, nV2, aT2);
+        myStopStatus=1;
       }
     }
     //
@@ -131,9 +130,9 @@ static
 //purpose  : 
 //=======================================================================
 Standard_Boolean IsValid(const TopoDS_Edge& aE,
-                        const TopoDS_Vertex& aV,
-                        const Standard_Real aTV1,
-                        const Standard_Real aTV2)
+                         const TopoDS_Vertex& aV,
+                         const Standard_Real aTV1,
+                         const Standard_Real aTV2)
 {
   Standard_Boolean bRet;
   Standard_Integer i, aNbP, aNbP1;