0025418: Debug output to be limited to OCC development environment
[occt.git] / src / ChFi3d / ChFi3d_Builder_SpKP.cxx
index 93a7798..ab2d863 100644 (file)
@@ -61,7 +61,7 @@
 
 #include <ChFi3d_Builder.jxx>
 #include <ChFi3d_Builder_0.hxx>
-#ifdef DEB
+#ifdef OCCT_DEBUG
 extern Standard_Boolean ChFi3d_GettraceDRAWFIL();
 extern void ChFi3d_CheckSurfData(const TopOpeBRepDS_DataStructure& DStr,
                                 const Handle(ChFiDS_SurfData)& Data);
@@ -264,14 +264,14 @@ static Standard_Real ParamOnSpine(const TopOpeBRepDS_DataStructure& DStr,
       Standard_Real tolc = CE.Resolution(tol);
       found = ChFi3d_InterPlaneEdge(plan,HE,Nl,First,tolc);
       gp_Pnt point = CE.Value(Nl);
-#ifdef CHFI3D_DEB
+#ifdef OCCT_DEBUG
       cout<<"******* ParamOnSpine() for edge "<<iedge<<endl;
       cout<<Nl<<endl;
       cout<<"point ped "<<point.X()<<" "<<point.Y()<<" "<<point.Z()<<endl;
 #endif
       if(found) Nl = Spine->Absc(Nl,ii);
       point = Spine->Value(Nl);
-#ifdef CHFI3D_DEB
+#ifdef OCCT_DEBUG
       if (found) cout << "found by edge " << ii << " : ";
       cout<<Nl<<endl;
       cout<<"point psp "<<point.X()<<" "<<point.Y()<<" "<<point.Z()<<endl;
@@ -509,7 +509,7 @@ static Standard_Boolean Tri(const Geom2dHatch_Hatcher& H,
   }
   if (iSansFirst != 0) {
     if (iSansLast == 0) {
-#ifdef CHFI3D_DEB
+#ifdef OCCT_DEBUG
       cout<<"Parsing : Pb of Hatcher"<<endl;
 #endif
       return 0;
@@ -679,7 +679,7 @@ Standard_Boolean ChFi3d_Builder::SplitKPart
     if(!H1.IsDone(iH1)) return 0;
     Nb1 = H1.NbDomains(iH1);
     if(Nb1 == 0) {
-#ifdef CHFI3D_DEB
+#ifdef OCCT_DEBUG
       cout<<"SplitKPart : tangency line out of the face"<<endl;
 #endif
       return Standard_False;
@@ -705,7 +705,7 @@ Standard_Boolean ChFi3d_Builder::SplitKPart
     if(!H2.IsDone(iH2)) return 0;
     Nb2 = H2.NbDomains(iH2);
     if(Nb2 == 0) {
-#ifdef CHFI3D_DEB
+#ifdef OCCT_DEBUG
       cout<<"SplitKPart : tangency line out of the face"<<endl;
 #endif
       return Standard_False;
@@ -747,7 +747,7 @@ Standard_Boolean ChFi3d_Builder::SplitKPart
                                   // situation, eap occ354
   
   if (C1.IsNull() && C2.IsNull()) {
-#ifdef CHFI3D_DEB
+#ifdef OCCT_DEBUG
     cout<<"SplitData : 2 zero lines hatching impossible"<<endl;
 #endif
     return Standard_False;
@@ -969,7 +969,7 @@ Standard_Boolean ChFi3d_Builder::SplitKPart
           onS = 1;
        else
          onS = 2;
-#ifdef CHFI3D_DEB      
+#ifdef OCCT_DEBUG      
        if (threeE[0].IsSame(threeE[1]))
          cout << "SplitKPart(), wrong corner vertex at switcher search" << endl;
 #endif
@@ -1064,7 +1064,7 @@ Standard_Boolean ChFi3d_Builder::SplitKPart
           onS = 1;
         else
           onS = 2;
-#ifdef CHFI3D_DEB      
+#ifdef OCCT_DEBUG
         if (threeE[0].IsSame(threeE[1]))
           cout << "SplitKPart(), wrong corner vertex at switcher search" << endl;
 #endif
@@ -1173,7 +1173,7 @@ Standard_Boolean ChFi3d_Builder::SplitKPart
        SetData.Remove(i+1,SetData.Length());
     }
   }
-#ifdef DEB
+#ifdef OCCT_DEBUG
   if(ChFi3d_GettraceDRAWFIL()) {
     for (i = 1; i <= SetData.Length(); i++) {
       ChFi3d_CheckSurfData(DStr,SetData.Value(i));