static Standard_Integer NbExtE = 1;
#endif
-#ifdef DEB
+#ifdef OCCT_DEBUG
static Standard_Boolean AffichExtent = Standard_False;
#endif
TopoDS_Edge anEdge = TopoDS::Edge(eseq(i));
BRepLib::SameParameter(anEdge, aSameParTol, Standard_True);
Standard_Real EdgeTol = BRep_Tool::Tolerance(anEdge);
-#ifdef BREPOFFSET_DEB
+#ifdef OCCT_DEBUG
cout<<"Tolerance of glued E = "<<EdgeTol<<endl;
#endif
if (EdgeTol > 1.e-2)
{
ReconstructPCurves(anEdge);
BRepLib::SameParameter(anEdge, aSameParTol, Standard_True);
-#ifdef BREPOFFSET_DEB
+#ifdef OCCT_DEBUG
cout<<"After projection tol of E = "<<BRep_Tool::Tolerance(anEdge)<<endl;
#endif
}
}
}
-#ifdef DEB
+#ifdef OCCT_DEBUG
if (AffichExtent) {
Standard_Real Dist = P.Distance(C.Value(U));
if (Dist > TolConf) {
// if (j == 1) C2 = BRep_Tool::CurveOnSurface(E2,F,fl2[0],fl2[1]);
// else C2 = BRep_Tool::CurveOnSurface(TopoDS::Edge(E2.Reversed()),
// F,fl2[0],fl2[1]);
-#ifdef DEB
+#ifdef OCCT_DEBUG
if (C1.IsNull() || C2.IsNull()) {
cout <<"Inter2d : Pas de pcurve"<<endl;
#ifdef DRAW
Standard_Real U1on2 = IntP2.ParamOnFirst();
Standard_Real U2on1 = IntP1.ParamOnSecond();
Standard_Real U2on2 = IntP2.ParamOnSecond();
-#ifdef BREPOFFSET_DEB
+#ifdef OCCT_DEBUG
cout << " BRepOffset_Tool::Inter2d SEGMENT d intersection" << endl;
cout << " ===> Parametres sur Curve1 : ";
cout << U1on1 << " " << U1on2 << endl;
LV.Clear();LV.Append(VF); LV.Append(VL);
}
-#ifdef BREPOFFSET_DEB
+#ifdef OCCT_DEBUG
if (!YaSol) {
cout <<"Inter2d : Pas de solution"<<endl;
#ifdef DRAW
Standard_Real U1,U2;
Standard_Real eps = Precision::Confusion();
-#ifdef DEB
+#ifdef OCCT_DEBUG
TopLoc_Location L;
#endif
B.MakeWire(NW);