//
// 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
//=======================================================================
QANewBRepNaming_Intersection::QANewBRepNaming_Intersection(const TDF_Label& ResultLabel)
- :QANewBRepNaming_BooleanOperationFeat(ResultLabel) {}
+ :QANewBRepNaming_BooleanOperation(ResultLabel) {}
//=======================================================================
//function : Load
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;
// 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
}
if(anArg == UNEXPECTED) {
-#ifdef MDTV_DEB
+#ifdef OCCT_DEBUG
cout <<"QANewBRepNaming_Intersection:: Unexpected Use Case" << endl;
#endif
return;