Salome HOME
Update copyright information
[modules/geom.git] / src / PARTITION / Partition_Spliter.cxx
index dc4900963efee4ac78ab39565ec2a5b7355a49f0..b9f437e426f4acc44d205d19c71cd1fde33d250e 100644 (file)
@@ -1,32 +1,30 @@
-//  GEOM PARTITION : partition algorithm
+//  Copyright (C) 2007-2008  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.
 //
-//  Copyright (C) 2003  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//  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
 //
+//  GEOM PARTITION : partition algorithm
 //  File   : Partition_Spliter.cxx
 //  Author : Benedicte MARTIN
 //  Module : GEOM
 //  $Header$
-
-using namespace std;
+//
 #include "Partition_Inter2d.hxx"
 #include "Partition_Inter3d.hxx"
 #include "Partition_Loop2d.hxx"
@@ -84,6 +82,8 @@ using namespace std;
 # include <OSD_Chronometer.hxx>
 #endif
 
+using namespace std;
+
 //=======================================================================
 //function : isClosed
 //purpose  : check id a shape is closed, ie is a solid or a closed shell
@@ -270,7 +270,7 @@ void Partition_Spliter::Compute(const TopAbs_ShapeEnum Limit)
     myInter3d.CompletPart3d(aListFaces, myFaceShapeMap);
 
 #ifdef PART_PERF
-    cout << "+++ CompletPart3d()" << endl;
+    MESSAGE("+++ CompletPart3d()");
     aCron.Show( cout );
     aCron.Reset();
     aCron.Start();
@@ -283,7 +283,7 @@ void Partition_Spliter::Compute(const TopAbs_ShapeEnum Limit)
     FindToolsToReconstruct();
 
 #ifdef PART_PERF
-    cout << "+++ FindToolsToReconstruct()" << endl;
+    MESSAGE("+++ FindToolsToReconstruct()");
     aCron.Show( cout );
     aCron.Reset();
     aCron.Start();
@@ -319,7 +319,7 @@ void Partition_Spliter::Compute(const TopAbs_ShapeEnum Limit)
     myDoneStep = TopAbs_VERTEX;
     
 #ifdef PART_PERF
-    cout << "+++ CompletPart2d()" << endl;
+    MESSAGE("+++ CompletPart2d()");
     aCron.Show( cout );
     aCron.Reset();
     aCron.Start();
@@ -428,7 +428,7 @@ void Partition_Spliter::Compute(const TopAbs_ShapeEnum Limit)
       }
     }
 #ifdef PART_PERF
-    cout << "+++ Cut Edges" << endl;
+    MESSAGE("+++ Cut Edges");
     aCron.Show( cout );
     aCron.Reset();
     aCron.Start();
@@ -440,7 +440,7 @@ void Partition_Spliter::Compute(const TopAbs_ShapeEnum Limit)
     myDoneStep = TopAbs_EDGE;
     
 #ifdef PART_PERF
-    cout << "+++ MergeEqualEdges()" << endl;
+    MESSAGE("+++ MergeEqualEdges()");
     aCron.Show( cout );
     aCron.Reset();
     aCron.Start();
@@ -485,7 +485,7 @@ void Partition_Spliter::Compute(const TopAbs_ShapeEnum Limit)
     
     myDoneStep = TopAbs_FACE;
 #ifdef PART_PERF
-    cout << "+++ MakeFaces()" << endl;
+    MESSAGE("+++ MakeFaces()");
     aCron.Show( cout );
     aCron.Reset();
     aCron.Start();
@@ -528,7 +528,7 @@ void Partition_Spliter::Compute(const TopAbs_ShapeEnum Limit)
       myBuilder.Add (myShape, itNSL.Value());
   }
 #ifdef PART_PERF
-    cout << "+++ MakeShells()" << endl;
+    MESSAGE("+++ MakeShells()");
     aCron.Show( cout );
 #endif