From 33a085531a059c03c7a45bf060f5ff3898468c7b Mon Sep 17 00:00:00 2001 From: ika Date: Thu, 11 Oct 2012 16:40:05 +0400 Subject: [PATCH] 0023142: GccAna : suspicious else the else should be signe = +1 --- src/GccAna/GccAna_Circ2d2TanRad.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GccAna/GccAna_Circ2d2TanRad.cxx b/src/GccAna/GccAna_Circ2d2TanRad.cxx index 7a367d5245..c053689be1 100755 --- a/src/GccAna/GccAna_Circ2d2TanRad.cxx +++ b/src/GccAna/GccAna_Circ2d2TanRad.cxx @@ -471,8 +471,8 @@ GccAna_Circ2d2TanRad:: WellDone = Standard_True; NbrSol = 1; if (R1 < R2) { signe = -1; } - else { signe = -1; } - gp_Ax2d axe(gp_Pnt2d(center1.XY()-(Radius+R1)*dir1.XY()), + else { signe = 1; } + gp_Ax2d axe(gp_Pnt2d(center1.XY()+signe*(Radius+R1)*dir1.XY()), dirx); cirsol(1) = gp_Circ2d(axe,Radius); // ================================= -- 2.39.5