0025418: Debug output to be limited to OCC development environment
[occt.git] / src / BRepOffset / BRepOffset_Tool.cxx
index c5dd7e3..a862d7a 100644 (file)
@@ -152,7 +152,7 @@ static Standard_Integer NbFTE       = 1;
 static Standard_Integer NbExtE      = 1;
 #endif
 
-#ifdef DEB
+#ifdef OCCT_DEBUG
 static Standard_Boolean AffichExtent = Standard_False;
 #endif
 
@@ -1883,7 +1883,7 @@ void BRepOffset_Tool::Inter3D(const TopoDS_Face& F1,
            TopoDS_Edge anEdge = TopoDS::Edge(eseq(i));
            BRepLib::SameParameter(anEdge, aSameParTol, Standard_True);
            Standard_Real EdgeTol = BRep_Tool::Tolerance(anEdge);
-#ifdef BREPOFFSET_DEB
+#ifdef OCCT_DEBUG
            cout<<"Tolerance of glued E =      "<<EdgeTol<<endl;
 #endif
            if (EdgeTol > 1.e-2)
@@ -1893,7 +1893,7 @@ void BRepOffset_Tool::Inter3D(const TopoDS_Face& F1,
              {
                ReconstructPCurves(anEdge);
                BRepLib::SameParameter(anEdge, aSameParTol, Standard_True);
-#ifdef BREPOFFSET_DEB
+#ifdef OCCT_DEBUG
                cout<<"After projection tol of E = "<<BRep_Tool::Tolerance(anEdge)<<endl;
 #endif
              }
@@ -2214,7 +2214,7 @@ static Standard_Boolean  ProjectVertexOnEdge(TopoDS_Vertex&     V,
     }
   }
 
-#ifdef DEB
+#ifdef OCCT_DEBUG
   if (AffichExtent) {
     Standard_Real Dist = P.Distance(C.Value(U));
     if (Dist > TolConf) {
@@ -2316,7 +2316,7 @@ void BRepOffset_Tool::Inter2d (const TopoDS_Face&    F,
 //     if (j == 1)  C2 = BRep_Tool::CurveOnSurface(E2,F,fl2[0],fl2[1]);
 //     else         C2 = BRep_Tool::CurveOnSurface(TopoDS::Edge(E2.Reversed()),
 //                                                 F,fl2[0],fl2[1]);
-#ifdef DEB
+#ifdef OCCT_DEBUG
        if (C1.IsNull() || C2.IsNull()) {
          cout <<"Inter2d : Pas de pcurve"<<endl;
 #ifdef DRAW
@@ -2428,7 +2428,7 @@ void BRepOffset_Tool::Inter2d (const TopoDS_Face&    F,
            Standard_Real U1on2 = IntP2.ParamOnFirst();
            Standard_Real U2on1 = IntP1.ParamOnSecond();
            Standard_Real U2on2 = IntP2.ParamOnSecond();
-#ifdef BREPOFFSET_DEB
+#ifdef OCCT_DEBUG
            cout << " BRepOffset_Tool::Inter2d SEGMENT d intersection" << endl;
            cout << "     ===> Parametres sur Curve1 : ";
            cout << U1on1 << " " << U1on2 << endl;
@@ -2486,7 +2486,7 @@ void BRepOffset_Tool::Inter2d (const TopoDS_Face&    F,
     LV.Clear();LV.Append(VF); LV.Append(VL);
   }
 
-#ifdef BREPOFFSET_DEB
+#ifdef OCCT_DEBUG
   if (!YaSol) {
     cout <<"Inter2d : Pas de solution"<<endl;
 #ifdef DRAW
@@ -3714,7 +3714,7 @@ void BRepOffset_Tool::ExtentFace (const TopoDS_Face&            F,
     Standard_Real      U1,U2;
     Standard_Real      eps = Precision::Confusion();
 
-#ifdef DEB
+#ifdef OCCT_DEBUG
     TopLoc_Location    L;
 #endif
     B.MakeWire(NW);