0028567: Get rid of the unused DRAW commands based on old Boolean Operations (BRepAlgo)
[occt.git] / src / QANewBRepNaming / QANewBRepNaming_Intersection.cxx
index 7280491..f82d0c3 100644 (file)
@@ -4,8 +4,8 @@
 //
 // This file is part of Open CASCADE Technology software library.
 //
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
 // by the Free Software Foundation, with special exception defined in the file
 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
 // distribution for complete text of the license and disclaimer of any warranty.
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#include <QANewBRepNaming_Intersection.ixx>
-#include <TNaming_Builder.hxx>
+
+#include <BRepAlgoAPI_BooleanOperation.hxx>
+#include <QANewBRepNaming_Intersection.hxx>
 #include <QANewBRepNaming_Loader.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopOpeBRepBuild_HBuilder.hxx>
+#include <TDF_Label.hxx>
+#include <TNaming_Builder.hxx>
 #include <TopoDS_Iterator.hxx>
+#include <TopOpeBRepBuild_HBuilder.hxx>
+#include <TopTools_ListIteratorOfListOfShape.hxx>
 
-#ifdef MDTV_DEB
+#ifdef OCCT_DEBUG
 #include <TDataStd_Name.hxx>
 #include <TNaming_NamedShape.hxx>
 #endif
@@ -49,7 +52,7 @@ QANewBRepNaming_Intersection::QANewBRepNaming_Intersection() {}
 //=======================================================================
 
 QANewBRepNaming_Intersection::QANewBRepNaming_Intersection(const TDF_Label& ResultLabel)
-     :QANewBRepNaming_BooleanOperationFeat(ResultLabel) {}
+     :QANewBRepNaming_BooleanOperation(ResultLabel) {}
 
 //=======================================================================
 //function : Load
@@ -59,7 +62,7 @@ QANewBRepNaming_Intersection::QANewBRepNaming_Intersection(const TDF_Label& Resu
 void QANewBRepNaming_Intersection::Load(BRepAlgoAPI_BooleanOperation& MS) const {
   TopoDS_Shape ResSh = MS.Shape();
   if (ResSh.IsNull()) {
-#ifdef MDTV_DEB
+#ifdef OCCT_DEBUG
     cout<<"QANewBRepNaming_Intersection::Load(): The result of the Intersection is null"<<endl;
 #endif
     return;
@@ -71,7 +74,7 @@ void QANewBRepNaming_Intersection::Load(BRepAlgoAPI_BooleanOperation& MS) const
 
   // If the shapes are the same - select the result and exit:
   if (IsResultChanged(MS)) {
-#ifdef MDTV_DEB
+#ifdef OCCT_DEBUG
     cout<<"QANewBRepNaming_Intersection::Load(): The object and the result of INTERSECTION operation are the same"<<endl;
     // Not modified!
 #endif
@@ -148,7 +151,7 @@ void QANewBRepNaming_Intersection::Load(BRepAlgoAPI_BooleanOperation& MS) const
     }
 
   if(anArg == UNEXPECTED) {
-#ifdef MDTV_DEB
+#ifdef OCCT_DEBUG
       cout <<"QANewBRepNaming_Intersection:: Unexpected Use Case" << endl;
 #endif
       return;