-// Copyright (C) 2006 SAMTECH
-//
+// 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
+// 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
+//
+// 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
+// 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>
-
-#include <NMTTools_CheckerSI.ixx>
+// File: NMTTools_CheckerSI.cxx
+// Created: Mon Feb 19 11:32:08 2007
+// Author: Peter KURNEV
+//
+#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()
{
}
//=======================================================================
//function : StopStatus
-//purpose :
+//purpose :
//=======================================================================
Standard_Integer NMTTools_CheckerSI::StopStatus()const
{
}
//=======================================================================
//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);