UIntPC1,UIntPC2,FaCo,SameSide,
IFaCo1,IFaCo2,Okvisavis,Vtx,Standard_True);
if (!Okvisavis) {
-#if DEB
+#if CHFI3D_DEB
cout<<"TwoCorner : pas de face commune"<<endl;
#endif
done=Standard_False;
}
if (!Okvisavis) {
-#if DEB
+#if CHFI3D_DEB
cout<<"TwoCorner : no common face"<<endl;
#endif
done=Standard_False;
return done;
}
if (!OkinterCC) {
-#if DEB
+#if CHFI3D_DEB
cout<<"biseau : failed intersection of tangency lines on common face"<<endl;
#endif
done=Standard_False;
ChFiDS_CommonPoint& CP2 = Fd2->ChangeVertex(isfirst2,IFaArc2);
if (!CP1.IsOnArc() || !CP2.IsOnArc()) {
-#if DEB
+#if CHFI3D_DEB
cout<<"fail 1 of 2 fillets are not on arc"<<endl;
#endif
done=Standard_False;
}
if ( ! CP1.Arc().IsSame( CP2.Arc()) ) {
// look like OnSame + OnDiff case (eap, Arp 9 2002, occ266)
-#if DEB
+#if CHFI3D_DEB
cout<<"PerformTwoCornerbyInter(): fillets are not on the same arc"<<endl;
#endif
done = Standard_True;
}
}
if(!ok1 || !ok2){
-#if DEB
+#if CHFI3D_DEB
cout<<"fail one of surfaces has no common base face with the pivot edge"<<endl;
#endif
done=Standard_False;
if (IFaCo1 == 1 &&
!ChFi3d_ComputeCurves(HS1,HS2,Pardeb,Parfin,Gc,
PGc1,PGc2,tolesp,tol2d,tolreached)) {
-#if DEB
+#if CHFI3D_DEB
cout<<"failed to calculate bevel error interSS"<<endl;
#endif
done=Standard_False;
else if (IFaCo1 == 2 &&
!ChFi3d_ComputeCurves(HS1,HS2,Parfin,Pardeb,Gc,
PGc1,PGc2,tolesp,tol2d,tolreached)) {
-#if DEB
+#if CHFI3D_DEB
cout<<"failed to calculate bevel error interSS"<<endl;
#endif
done=Standard_False;
Reduce(UIntPCSma,UIntPCBig,Hctg);
}
if(!ChFi3d_IntCS(BigHS,Hctg,UVi,wi)){
-#if DEB
+#if CHFI3D_DEB
cout<<"bevel : failed inter C S"<<endl;
#endif
done=Standard_False;
Standard_Real tolreached;
if (!ChFi3d_ComputeCurves(SmaHS,BigHS,Pardeb,Parfin,Gc,
PGc1,PGc2,tolesp,tol2d,tolreached)) {
-#if DEB
+#if CHFI3D_DEB
cout<<"failed to calculate bevel failed interSS"<<endl;
#endif
done=Standard_False;
Adaptor3d_CurveOnSurface consf(c2df,HF);
Handle(Adaptor3d_HCurveOnSurface) Hconsf = new Adaptor3d_HCurveOnSurface(consf);
if(!ChFi3d_IntCS(BigHS,Hconsf,UVi,wi)) {
-#if DEB
+#if CHFI3D_DEB
cout<<"bevel : failed inter C S"<<endl;
#endif
done=Standard_False;
if (!ChFi3d_ComputeCurves(HF,BigHS,Pardeb,Parfin,Gc,
PGc1,PGc2,tolesp,tol2d,tolreached)) {
-#if DEB
+#if CHFI3D_DEB
cout<<"fail calculation bevel fail interSS"<<endl;
#endif
done=Standard_False;