diff --git a/src/IntAna/IntAna_QuadQuadGeo.cxx b/src/IntAna/IntAna_QuadQuadGeo.cxx index c6bf192f9b..05ff9798a1 100755 --- a/src/IntAna/IntAna_QuadQuadGeo.cxx +++ b/src/IntAna/IntAna_QuadQuadGeo.cxx @@ -18,8 +18,6 @@ // purpose or non-infringement. Please see the License for the specific terms // and conditions governing the rights and limitations under the License. - - //---------------------------------------------------------------------- //-- Purposse: Geometric Intersection between two Natural Quadric //-- If the intersection is not a conic, @@ -1173,12 +1171,10 @@ gp_Ax2 DirToAx2(const gp_Pnt& P,const gp_Dir& D) tg2 = -tg2; } // - //modified by NIZNHY-PKV Thu Dec 1 16:49:47 2005f aTol2=Tol*Tol; aPApex1=Con1.Apex(); aPApex2=Con2.Apex(); aDA1A2=aPApex1.SquareDistance(aPApex2); - //modified by NIZNHY-PKV Wed Nov 30 10:17:05 2005t // AxeOperator A1A2(Con1.Axis(),Con2.Axis()); // @@ -1302,11 +1298,8 @@ gp_Ax2 DirToAx2(const gp_Pnt& P,const gp_Dir& D) } } }// else if((Abs(tg1-tg2)(aR2+Tol)) { iRet=0; - //printf(" * iRet=0 => IntAna_Empty\n"); typeres=IntAna_Empty; //nothing + //modified by NIZNHY-PKV Fri Mar 23 08:12:23 2012f + return; + //modified by NIZNHY-PKV Fri Mar 23 08:12:29 2012t } // iRet=1; //touch case => 1 line @@ -1435,11 +1430,6 @@ gp_Ax2 DirToAx2(const gp_Pnt& P,const gp_Dir& D) pt1=aQApex1; gp_Vec aVX(aQApex1, aQX); dir1=gp_Dir(aVX); - /* - printf(" line L1 %lf %lf %lf %lf %lf %lf\n", - pt1.X(), pt1.Y(), pt1.Z(), - dir1.X(), dir1.Y(), dir1.Z()); - */ } else {//iRet=2 @@ -1456,18 +1446,8 @@ gp_Ax2 DirToAx2(const gp_Pnt& P,const gp_Dir& D) dir1=gp_Dir(aVX1); gp_Vec aVX2(aQApex1, aQX2); dir2=gp_Dir(aVX2); - /* - printf(" line L1 %lf %lf %lf %lf %lf %lf\n", - pt1.X(), pt1.Y(), pt1.Z(), - dir1.X(), dir1.Y(), dir1.Z()); - printf(" line L2 %lf %lf %lf %lf %lf %lf\n", - pt2.X(), pt2.Y(), pt2.Z(), - dir2.X(), dir2.Y(), dir2.Z()); - */ } } //else if (aDA1A2