//
// This file is part of Open CASCADE Technology software library.
//
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//-- TopClass_SolidClassifier.gxx
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_EXPORT Standard_Boolean TopClass_GettraceFC();
#endif
void TopClass_SolidClassifier::Perform(TheSolidExplorer& SolidExplorer,
const gp_Pnt& P,
const Standard_Real Tol) {
-#ifdef DEB
+#ifdef OCCT_DEBUG
Standard_Boolean trace = TopClass_GettraceFC();
#endif
parmin = Intersector.WParameter();
if(Abs(parmin)<=Tol) {
-#ifdef DEB
+#ifdef OCCT_DEBUG
if (trace) {
//-- #########################################
- cout<<" parmin = "<<parmin<< " avec Par = "<<Par;
- cout<<" ds TopClass_SolidClassifier.gxx "<<endl;
+ std::cout<<" parmin = "<<parmin<< " avec Par = "<<Par;
+ std::cout<<" ds TopClass_SolidClassifier.gxx "<<std::endl;
//-- #########################################
}
#endif
myState = 4; //-- OUT --
}
else {
-#ifdef DEB
- cout<<"*Probleme ds TopClass_SolidClassifier.gxx"<<endl;
+#ifdef OCCT_DEBUG
+ std::cout<<"*Probleme ds TopClass_SolidClassifier.gxx"<<std::endl;
#endif
}
myFace = Intersector.Face();
myState = 4; //-- OUT --
}
else {
-#ifdef DEB
- cout<<"*Probleme ds TopClass_SolidClassifier.gxx "<<endl;
+#ifdef OCCT_DEBUG
+ std::cout<<"*Probleme ds TopClass_SolidClassifier.gxx "<<std::endl;
#endif
}
-#ifdef DEB
+#ifdef OCCT_DEBUG
//-- #########################################
// cout<<" Intersector.State() == TopAbs_ON";
// cout<<" ds TopClass_SolidClassifier.gxx "<<endl;
}
} //-- Exploration of the shells
-#ifdef DEB
+#ifdef OCCT_DEBUG
//#################################################
SolidExplorer.DumpSegment(P,L,parmin,State());
//#################################################