0025418: Debug output to be limited to OCC development environment
[occt.git] / src / DBRep / DBRep_IsoBuilder.cxx
index 5a932b5..024ad87 100644 (file)
@@ -108,14 +108,14 @@ Geom2dHatch_Hatcher (Geom2dHatch_Intersector (IntersectorConfusion,
 
     if (PCurve.IsNull())
     {
-#ifdef DBREP_DEB
+#ifdef OCCT_DEBUG
       cout << "DBRep_IsoBuilder : PCurve is null\n";
 #endif
       return;
     }
     else if (U1 == U2)
     {
-#ifdef DBREP_DEB
+#ifdef OCCT_DEBUG
       cout << "DBRep_IsoBuilder PCurve : U1==U2\n";
 #endif
       return;
@@ -140,7 +140,7 @@ Geom2dHatch_Hatcher (Geom2dHatch_Intersector (IntersectorConfusion,
             U2 - TrimPCurve->BasisCurve()->LastParameter()  > Precision::PConfusion())
           {
             AddElement (PCurve, TopologicalEdge.Orientation());
-#ifdef DBREP_DEB
+#ifdef OCCT_DEBUG
             cout << "DBRep_IsoBuilder TrimPCurve : parameters out of range\n";
             cout << "    U1(" << U1 << "), Umin(" << PCurve->FirstParameter()
               << "), U2("  << U2 << "), Umax(" << PCurve->LastParameter() << ")\n";
@@ -152,7 +152,7 @@ Geom2dHatch_Hatcher (Geom2dHatch_Intersector (IntersectorConfusion,
         {
           if (PCurve->FirstParameter() - U1 > Precision::PConfusion())
           {
-#ifdef DBREP_DEB
+#ifdef OCCT_DEBUG
             cout << "DBRep_IsoBuilder PCurve : parameters out of range\n";
             cout << "    U1(" << U1 << "), Umin(" << PCurve->FirstParameter() << ")\n";
 #endif
@@ -160,7 +160,7 @@ Geom2dHatch_Hatcher (Geom2dHatch_Intersector (IntersectorConfusion,
           }
           if (PCurve->FirstParameter() - U2 > Precision::PConfusion())
           {
-#ifdef DBREP_DEB
+#ifdef OCCT_DEBUG
             cout << "DBRep_IsoBuilder PCurve : parameters out of range\n";
             cout << "    U2(" << U2 << "), Umin(" << PCurve->FirstParameter() << ")\n";
 #endif
@@ -168,7 +168,7 @@ Geom2dHatch_Hatcher (Geom2dHatch_Intersector (IntersectorConfusion,
           }
           if (U1 - PCurve->LastParameter() > Precision::PConfusion())
           {
-#ifdef DBREP_DEB
+#ifdef OCCT_DEBUG
             cout << "DBRep_IsoBuilder PCurve : parameters out of range\n";
             cout << "    U1(" << U1 << "), Umax(" << PCurve->LastParameter() << ")\n";
 #endif
@@ -176,7 +176,7 @@ Geom2dHatch_Hatcher (Geom2dHatch_Intersector (IntersectorConfusion,
           }
           if (U2 - PCurve->LastParameter() > Precision::PConfusion())
           {
-#ifdef DBREP_DEB
+#ifdef OCCT_DEBUG
             cout << "DBRep_IsoBuilder PCurve : parameters out of range\n";
             cout << "    U2(" << U2 << "), Umax(" << PCurve->LastParameter() << ")\n";
 #endif