Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/geom.git] / src / NMTDS / NMTDS_PassKeyShape.cxx
index 804acd5c5fed8845eab5594b5d4f6c6bb31b3d1d..5010c582a20732640c2c6886bea287bcede16a53 100644 (file)
@@ -1,38 +1,37 @@
-//  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
+// 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:       NMTDS_PassKeyShape.cxx
-// Created:    
-// Author:     Peter KURNEV
-//             <pkv@irinox>
+
+// File:        NMTDS_PassKeyShape.cxx
+// Created:     
+// Author:      Peter KURNEV
+//              <pkv@irinox>
 //
-#include <NMTDS_PassKeyShape.ixx>
+#include <NMTDS_PassKeyShape.hxx>
 
 #include <TopTools_ListOfShape.hxx>
 #include <TopTools_ListIteratorOfListOfShape.hxx>
+#include <TopoDS_Shape.hxx>
 
 
 static 
   Standard_Integer NormalizedId(const Standard_Integer aId,
-                               const Standard_Integer aDiv);
+                                const Standard_Integer aDiv);
 //=======================================================================
 //function :
 //purpose  : 
@@ -86,7 +85,7 @@ static
 //purpose  : 
 //=======================================================================
   void NMTDS_PassKeyShape::SetShapes(const TopoDS_Shape& aS1)
-                              
+                               
 {
   Standard_Integer aHC;
   //
@@ -101,7 +100,7 @@ static
 //purpose  : 
 //=======================================================================
   void NMTDS_PassKeyShape::SetShapes(const TopoDS_Shape& aS1,
-                                       const TopoDS_Shape& aS2)
+                                        const TopoDS_Shape& aS2)
 {
   TopTools_ListOfShape aLS;
   //
@@ -114,8 +113,8 @@ static
 //purpose  : 
 //=======================================================================
   void NMTDS_PassKeyShape::SetShapes(const TopoDS_Shape& aS1,
-                                       const TopoDS_Shape& aS2,
-                                       const TopoDS_Shape& aS3)
+                                        const TopoDS_Shape& aS2,
+                                        const TopoDS_Shape& aS3)
 {
   TopTools_ListOfShape aLS;
   //
@@ -129,9 +128,9 @@ static
 //purpose  : 
 //=======================================================================
   void NMTDS_PassKeyShape::SetShapes(const TopoDS_Shape& aS1,
-                                       const TopoDS_Shape& aS2,
-                                       const TopoDS_Shape& aS3,
-                                       const TopoDS_Shape& aS4)
+                                        const TopoDS_Shape& aS2,
+                                        const TopoDS_Shape& aS3,
+                                        const TopoDS_Shape& aS4)
 {
   TopTools_ListOfShape aLS;
   //
@@ -214,7 +213,7 @@ static
 // purpose : 
 //=======================================================================
 Standard_Integer NormalizedId(const Standard_Integer aId,
-                             const Standard_Integer aDiv)
+                              const Standard_Integer aDiv)
 {
   Standard_Integer aMax, aTresh, aIdRet;
   //