mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0024065: Wrong intersection point
Adding test case for issue CR24065 Small corrections of test cases
This commit is contained in:
@@ -326,7 +326,8 @@ gp_Ax2 DirToAx2(const gp_Pnt& P,const gp_Dir& D)
|
||||
|
||||
Standard_Real denom2 = denom*denom;
|
||||
Standard_Real ddenom = 1. - denom2;
|
||||
denom = ( Abs(ddenom) <= 1.e-9 ) ? 1.e-9 : ddenom;
|
||||
//denom = ( Abs(ddenom) <= 1.e-9 ) ? 1.e-9 : ddenom;
|
||||
denom = ( Abs(ddenom) <= 1.e-16 ) ? 1.e-16 : ddenom;
|
||||
|
||||
Standard_Real par1 = dist1/denom;
|
||||
Standard_Real par2 = -dist2/denom;
|
||||
|
Reference in New Issue
Block a user