mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025266: Debug statements in the source are getting flushed on to the console
Output to cout activated previously in Debug mode by #ifdef DEB is suppressed by using macro <PACKAGE>_DEB instead of DEB
This commit is contained in:
@@ -659,7 +659,7 @@ void Approx_CurvilinearParameter::ToleranceComputation(const Handle(Adaptor2d_HC
|
||||
TolV = Tol / (4.*Max_dS_dv);
|
||||
TolW = Tol / (4.*Max_dS_dw);
|
||||
|
||||
#ifdef DEB
|
||||
#ifdef APPROX_DEB
|
||||
cout << "TolV = " << TolV << endl;
|
||||
cout << "TolW = " << TolW << endl;
|
||||
#endif
|
||||
|
@@ -563,7 +563,7 @@ void Approx_SameParameter::Build(const Standard_Real Tolerance)
|
||||
if(!projok)
|
||||
{
|
||||
//Projector
|
||||
#ifdef DEB
|
||||
#ifdef APPROX_DEB
|
||||
// JAG
|
||||
cout << "Projection not done" << endl;
|
||||
#endif
|
||||
@@ -578,7 +578,7 @@ void Approx_SameParameter::Build(const Standard_Real Tolerance)
|
||||
|
||||
if(!extrok) { // If not already SameP and tangent to mill, abandon.
|
||||
mySameParameter = Standard_False;
|
||||
#ifdef DEB
|
||||
#ifdef APPROX_DEB
|
||||
cout<<"SameParameter problem : zero tangent to extremities"<<endl;
|
||||
#endif
|
||||
return;
|
||||
@@ -739,7 +739,7 @@ void Approx_SameParameter::Build(const Standard_Real Tolerance)
|
||||
}
|
||||
}
|
||||
else {
|
||||
#ifdef DEB
|
||||
#ifdef APPROX_DEB
|
||||
// JAG
|
||||
cout << "Projection not done" << endl;
|
||||
#endif
|
||||
@@ -769,7 +769,7 @@ void Approx_SameParameter::Build(const Standard_Real Tolerance)
|
||||
|
||||
if (Precision::IsInfinite(algtol)) {
|
||||
mySameParameter = Standard_False;
|
||||
#ifdef DEB
|
||||
#ifdef APPROX_DEB
|
||||
cout<<"SameParameter problem : function of interpolation of parametration at mills !!"<<endl;
|
||||
#endif
|
||||
return;
|
||||
@@ -869,7 +869,7 @@ void Approx_SameParameter::Build(const Standard_Real Tolerance)
|
||||
}
|
||||
}
|
||||
else {
|
||||
#ifdef DEB
|
||||
#ifdef APPROX_DEB
|
||||
// JAG
|
||||
cout << "Projection not done" << endl;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user