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:
@@ -12,7 +12,7 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef DEB
|
||||
#ifndef OCCT_DEBUG
|
||||
#define No_Standard_RangeError
|
||||
#define No_Standard_OutOfRange
|
||||
#endif
|
||||
|
@@ -589,7 +589,7 @@ void PointProcess (const gp_Pnt& Pt,
|
||||
vtx = Domain->Vertex();
|
||||
dist= Abs(Para-TheSOBTool::Parameter(vtx,A));
|
||||
toler = TheSOBTool::Tolerance(vtx,A);
|
||||
#ifdef DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
if(toler>0.1) {
|
||||
cout<<"IntStart_SearchOnBoundaries_1.gxx : ** WARNING ** Tol Vertex="<<toler<<endl;
|
||||
cout<<" Ou Edge degenere Ou Kro pointu"<<endl;
|
||||
|
Reference in New Issue
Block a user