// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-#include <TopOpeBRepBuild_Builder.jxx>
+#include <BRep_Builder.hxx>
+#include <gp_Pnt.hxx>
+#include <Standard_NoSuchObject.hxx>
+#include <Standard_ProgramError.hxx>
+#include <TCollection_AsciiString.hxx>
#include <TopAbs.hxx>
-#include <TopoDS_Solid.hxx>
+#include <TopExp.hxx>
+#include <TopoDS.hxx>
+#include <TopoDS_Edge.hxx>
+#include <TopoDS_Face.hxx>
+#include <TopoDS_Shape.hxx>
#include <TopoDS_Shell.hxx>
+#include <TopoDS_Solid.hxx>
+#include <TopoDS_Vertex.hxx>
#include <TopoDS_Wire.hxx>
-#include <TopoDS.hxx>
-#include <TopExp.hxx>
-#include <BRep_Builder.hxx>
-#include <TopOpeBRepTool_ShapeExplorer.hxx>
-#include <TopOpeBRepTool_EXPORT.hxx>
-#include <TopOpeBRepDS_EXPORT.hxx>
-#include <TopOpeBRepDS_connex.hxx>
+#include <TopOpeBRepBuild_Builder.hxx>
#include <TopOpeBRepBuild_define.hxx>
-#include <TopOpeBRepBuild_WireToFace.hxx>
+#include <TopOpeBRepBuild_EdgeBuilder.hxx>
+#include <TopOpeBRepBuild_FaceBuilder.hxx>
+#include <TopOpeBRepBuild_GTopo.hxx>
+#include <TopOpeBRepBuild_HBuilder.hxx>
#include <TopOpeBRepBuild_kpresu.hxx>
-#include <Standard_ProgramError.hxx>
+#include <TopOpeBRepBuild_PaveSet.hxx>
+#include <TopOpeBRepBuild_ShapeSet.hxx>
+#include <TopOpeBRepBuild_ShellFaceSet.hxx>
+#include <TopOpeBRepBuild_SolidBuilder.hxx>
+#include <TopOpeBRepBuild_WireEdgeSet.hxx>
+#include <TopOpeBRepBuild_WireToFace.hxx>
+#include <TopOpeBRepDS_BuildTool.hxx>
+#include <TopOpeBRepDS_connex.hxx>
+#include <TopOpeBRepDS_CurveIterator.hxx>
+#include <TopOpeBRepDS_EXPORT.hxx>
+#include <TopOpeBRepDS_HDataStructure.hxx>
+#include <TopOpeBRepDS_PointIterator.hxx>
+#include <TopOpeBRepDS_ShapeShapeInterference.hxx>
+#include <TopOpeBRepDS_SurfaceIterator.hxx>
+#include <TopOpeBRepTool_EXPORT.hxx>
+#include <TopOpeBRepTool_ShapeExplorer.hxx>
-#ifdef DEB
+#ifdef OCCT_DEBUG
extern Standard_Boolean TopOpeBRepBuild_GettraceKPB();
void debiskole() {}
#endif
void TopOpeBRepBuild_Builder::MergeKPartiskole()
{
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Boolean TKPB = TopOpeBRepBuild_GettraceKPB();
if (TKPB) KPreturn(myIsKPart);
debiskole();
itm1.Initialize(myKPMAPf1f2);
if ( ! itm1.More() ) return;
-#ifdef DEB
+#ifdef OCCT_DEBUG
if (TKPB) {
cout<<""<<endl;
for (; itm1.More();itm1.Next()) {
if ( pfOU==NULL) return;
if ( pfIN==NULL) return;
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Integer ifOU; Standard_Boolean tSPS = GtraceSPS(*pfOU,ifOU);
if(tSPS || TKPB) {
// Standard_Integer iOU = myDataStructure->Shape(*pfOU);
ChangeMerged(she1,myState1);
ChangeMerged(she2,myState2);
-#ifdef DEB
+#ifdef OCCT_DEBUG
if (TKPB) { cout<<"stsol1 ";TopAbs::Print(stsol1,cout); cout<<" "; }
if (TKPB) { cout<<"stsol2 ";TopAbs::Print(stsol2,cout); cout<<endl; }
debiskole();
it2.Initialize(lf2);
const TopoDS_Shape& f2 = it2.Value();
-/*#ifdef DEB
+/*#ifdef OCCT_DEBUG
Standard_Integer ii1 = myDataStructure->Shape(f1);
Standard_Integer ii2 = myDataStructure->Shape(f2);
#endif*/
} // === fin RESNEWSHE
else {
-#ifdef DEB
+#ifdef OCCT_DEBUG
cout<<"MergeKPartiskole : ires = "<<ires<<endl;
#endif
}
loshe1.Append(shecur);
}
}
-#ifdef DEB
+#ifdef OCCT_DEBUG
// Standard_Integer nshe1 = loshe1.Extent();
#endif
TopTools_ListIteratorOfListOfShape itloshe1;
loshe2.Append(shecur);
}
}
-#ifdef DEB
+#ifdef OCCT_DEBUG
// Standard_Integer nshe2 = loshe2.Extent();
#endif
TopTools_ListIteratorOfListOfShape itloshe2;
itlf1.More();itlf1.Next()) {
const TopoDS_Shape& f1 = itlf1.Value();
-#ifdef DEB
+#ifdef OCCT_DEBUG
// Standard_Boolean isb1 = myKPMAPf1f2.IsBound(f1); // DEB
#endif
lf1.Clear(); lf1.Append(f1);
lf2.Clear(); KPSameDomain(lf1,lf2);
-#ifdef DEB
+#ifdef OCCT_DEBUG
// Standard_Integer n1 = lf1.Extent();
// Standard_Integer n2 = lf2.Extent();
#endif
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Integer iF1; Standard_Boolean tSPS1 = GtraceSPS(f1,iF1);
if(tSPS1) {
GdumpSHA(f1, (char *) "KPiskole ");cout<<endl;
itlf2.More(); itlf2.Next() ) {
const TopoDS_Shape& f2 = itlf2.Value();
-#ifdef DEB
+#ifdef OCCT_DEBUG
// Standard_Boolean isb2 = myKPMAPf1f2.IsBound(f2); // DEB
#endif
TopAbs_State state1,state2;
}
}
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Boolean TKPB = TopOpeBRepBuild_GettraceKPB();
if (TKPB) cout<<"ires = "<<ires<<" icla1 "<<icla1<<" icla2 "<<icla2<<endl;
#endif
Standard_Integer rankIN = 0;
TopTools_ListOfShape LFSO,LFDO;
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Integer iF1; Standard_Boolean tSPS = BU.GtraceSPS(Fac1,iF1);
if(tSPS) { BU.GdumpSHA(Fac1, (char *) "KPmakeFace ");cout<<endl; }
#endif
BU.GFindSameRank(LFSO,rankIN,LFIN);
BU.GFindSameRank(LFDO,rankIN,LFIN);
-#ifdef DEB
+#ifdef OCCT_DEBUG
if(tSPS) {
BU.GdumpSAMDOM(LFSO, (char *) "LESO : ");
BU.GdumpSAMDOM(LFDO, (char *) "LEDO : ");
const TopoDS_Face& F1 = TopoDS::Face(Fac1);
wtof.MakeFaces(F1,Lres);
-#ifdef DEB
+#ifdef OCCT_DEBUG
// Standard_Integer nlres = Lres.Extent(); // DEB
#endif
Standard_Integer rankIN = 0;
TopTools_ListOfShape LFSO,LFDO;
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Integer iF1;
Standard_Boolean tSPS = GtraceSPS(Fac1,iF1);
if(tSPS) {
GFindSameRank(LFSO,rankIN,LFIN);
GFindSameRank(LFDO,rankIN,LFIN);
-#ifdef DEB
+#ifdef OCCT_DEBUG
if(tSPS) {
GdumpSAMDOM(LFSO, (char *) "LESO : ");
GdumpSAMDOM(LFDO, (char *) "LEDO : ");
TopTools_ListOfShape& lShsd,
TopTools_ListOfShape& lfhsd) const
{
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Boolean TKPB = TopOpeBRepBuild_GettraceKPB();
#endif
const TopOpeBRepDS_DataStructure& BDS = myDataStructure->DS();
Standard_Boolean iskolesh = FUNKP_KPiskolesh(*this,BDS,Sarg,lShsd,lfhsd);
if (!iskolesh) return Standard_False;
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Integer nfhsd =
#endif
KPlhsd(Sarg,TopAbs_FACE,lfhsd);
Standard_Integer nehg = KPlhg(fac,TopAbs_EDGE,lehg);
if ( nehg != 0 ) return Standard_False;
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Integer isol = myDataStructure->Shape(Sarg);
Standard_Integer ifac = myDataStructure->Shape(fac);
if(TKPB){cout<<"isol "<<isol<<endl;}