mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025418: Debug output to be limited to OCC development environment
Macros ending on "DEB" are replaced by OCCT_DEBUG across OCCT code; new macros described in documentation. Macros starting with DEB are changed to start with "OCCT_DEBUG_". Some code cleaned.
This commit is contained in:
@@ -191,13 +191,13 @@ Handle(Geom2d_Curve) UnitsMethods::RadianToDegree
|
||||
aCurve2d = aBSpline2d;
|
||||
}
|
||||
else if (aCurve2d->IsKind(STANDARD_TYPE(Geom2d_Parabola))) {
|
||||
#ifdef UNITSMETHODS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "PCURVE of Parabola type in U or V Periodic Surface" << endl;
|
||||
cout << "Parameters Not transformed to Degree" << endl;
|
||||
#endif
|
||||
}
|
||||
else if (aCurve2d->IsKind(STANDARD_TYPE(Geom2d_Hyperbola))) {
|
||||
#ifdef UNITSMETHODS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "PCURVE of Hyperbola type in U or V Periodic Surface" << endl;
|
||||
cout << "Parameters Not transformed to Degree" << endl;
|
||||
#endif
|
||||
@@ -226,7 +226,7 @@ Handle(Geom2d_Curve) UnitsMethods::RadianToDegree
|
||||
return myNewBSpline2d;
|
||||
}
|
||||
else {
|
||||
#ifdef UNITSMETHODS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "PCURVE of Other Types of Bounded Curve in U or V Periodic Surface" << endl;
|
||||
cout << "Parameters Not transformed to Degree" << endl;
|
||||
#endif
|
||||
@@ -302,14 +302,14 @@ Handle(Geom2d_Curve) UnitsMethods::DegreeToRadian
|
||||
aPcurve = aBSpline2d;
|
||||
}
|
||||
else if (aPcurve->IsKind(STANDARD_TYPE(Geom2d_Parabola))) {
|
||||
#ifdef UNITSMETHODS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "PCURVE of Parabola type" << endl;
|
||||
cout << "Parameters Not Yet transformed according to LenghtUnit" << endl;
|
||||
#endif
|
||||
return aPcurve;
|
||||
}
|
||||
else if (aPcurve->IsKind(STANDARD_TYPE(Geom2d_Hyperbola))) {
|
||||
#ifdef UNITSMETHODS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "PCURVE of Hyperbola type" << endl;
|
||||
cout << "Parameters Not Yet transformed according to LenghtUnit" << endl;
|
||||
#endif
|
||||
@@ -356,7 +356,7 @@ Handle(Geom2d_Curve) UnitsMethods::DegreeToRadian
|
||||
aPcurve = aBSpline2d;
|
||||
}
|
||||
else {
|
||||
#ifdef UNITSMETHODS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "DegreeToRadian : Type " << aPcurve->DynamicType();
|
||||
cout << " not yet implemented" << endl;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user