// File: QANewBRepNaming_Fuse.cdl // Created: Tue Oct 31 14:38:18 2000 // Author: Sergey ZARITCHNY // // Copyright: Open CASCADE 2003 // Lastly modified by : // +---------------------------------------------------------------------------+ // ! szy ! Adopted ! 9-06-2003! 3.0-00-%L%! // +---------------------------------------------------------------------------+ #include #include #include #include #include #include #include #include //======================================================================= //function : QANewBRepNaming_Fuse //purpose : //======================================================================= QANewBRepNaming_Fuse::QANewBRepNaming_Fuse() {} //======================================================================= //function : QANewBRepNaming_Fuse //purpose : //======================================================================= QANewBRepNaming_Fuse::QANewBRepNaming_Fuse(const TDF_Label& ResultLabel) :QANewBRepNaming_BooleanOperationFeat(ResultLabel) {} //======================================================================= //function : Load //purpose : //======================================================================= void QANewBRepNaming_Fuse::Load(BRepAlgoAPI_BooleanOperation& MS) const { const TopoDS_Shape& ResSh = MS.Shape(); const TopoDS_Shape& ObjSh = MS.Shape1(); const TopoDS_Shape& ToolSh = MS.Shape2(); if (ResSh.IsNull()) { #ifdef MDTV_DEB cout<<"QANewBRepNaming_Fuse::Load(): The result of the boolean operation is null"<