]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/NMTTools/NMTTools_CheckerSI.cxx
Salome HOME
0021672: [CEA 565] Dump Study from script
[modules/geom.git] / src / NMTTools / NMTTools_CheckerSI.cxx
index 29b4ceeb4b0161605d94fd9a559df87ba1318bd6..dd724ba6aeceaa202f9f923084228a2a81d92e28 100644 (file)
@@ -1,36 +1,37 @@
-//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  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_CheckerSI.cxx
 //  Created:    Mon Feb 19 11:32:08 2007
 //  Author:     Peter KURNEV
 //
-#include <NMTTools_CheckerSI.ixx>
+#include <NMTTools_CheckerSI.hxx>
 
 #include <NMTDS_ShapesDataStructure.hxx>
 #include <NMTDS_IteratorCheckerSI.hxx>
 #include <NMTDS_InterfPool.hxx>
 #include <NMTTools_DEProcessor.hxx>
+#include <IntTools_Context.hxx>
 
 //=======================================================================
-//function : 
-//purpose  : 
+//function :
+//purpose  :
 //=======================================================================
   NMTTools_CheckerSI::NMTTools_CheckerSI()
 :
 }
 //=======================================================================
 //function : ~
-//purpose  : 
+//purpose  :
 //=======================================================================
   NMTTools_CheckerSI::~NMTTools_CheckerSI()
 {
 }
 //=======================================================================
 //function : Clear
-//purpose  : 
+//purpose  :
 //=======================================================================
   void NMTTools_CheckerSI::Clear()
 {
@@ -55,7 +56,7 @@
 }
 //=======================================================================
 //function : StopStatus
-//purpose  : 
+//purpose  :
 //=======================================================================
   Standard_Integer NMTTools_CheckerSI::StopStatus()const
 {
@@ -63,7 +64,7 @@
 }
 //=======================================================================
 //function : Init
-//purpose  : 
+//purpose  :
 //=======================================================================
   void NMTTools_CheckerSI::Init()
 {
   myDSIt->SetDS(myDS);
   myDSIt->Prepare();
   //
-  // 4.
+  // 3.
   myNbSources=myDS->NumberOfShapesOfTheObject()+
               myDS->NumberOfShapesOfTheTool();
   myNbEdges=myDS->NbEdges();
-  // 5
+  // 4
   myIP=new NMTDS_InterfPool;
+  //
+  // 5
+  myContext=new IntTools_Context;
 }
 //=======================================================================
 //function : Perform
-//purpose  : 
+//purpose  :
 //=======================================================================
   void NMTTools_CheckerSI::Perform()
 {
   //
   MakePCurves();
   //
-  // 7. Postprocessing 
+  // 7. Postprocessing
   UpdatePaveBlocks();
   //
   NMTTools_DEProcessor aDEP(*this);