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:
@@ -483,13 +483,13 @@ void DsgPrs::ComputeFilletRadiusPresentation( const Standard_Real /*ArrowLength*
|
||||
FilletCirc.SetRadius( Center.Distance( FirstPoint ) ); //***
|
||||
gp_Vec vec1( dir1 );
|
||||
vec1 *= FilletCirc.Radius();
|
||||
#ifdef DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
gp_Pnt p1 =
|
||||
#endif
|
||||
Center.Translated( vec1 );
|
||||
gp_Vec vec2( dir2 );
|
||||
vec2 *= FilletCirc.Radius();
|
||||
#ifdef DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
gp_Pnt p2 =
|
||||
#endif
|
||||
Center.Translated( vec2 );
|
||||
@@ -537,7 +537,7 @@ void DsgPrs::ComputeFilletRadiusPresentation( const Standard_Real /*ArrowLength*
|
||||
FirstParCirc = ElCLib::Parameter( FilletCirc, FirstPoint );
|
||||
LastParCirc = ElCLib::Parameter( FilletCirc, SecondPoint );
|
||||
|
||||
#ifdef DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
#endif
|
||||
}
|
||||
else //Angle equal 0 or PI or R = 0
|
||||
|
Reference in New Issue
Block a user