1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0025095: Wrong result obtained by projection algorithm

Test cases for issue CR25095
This commit is contained in:
ifv
2014-07-24 13:31:21 +04:00
committed by bugmaster
parent d4f1753b9c
commit 8e007da7af
2 changed files with 34 additions and 1 deletions

View File

@@ -43,6 +43,7 @@
#include <Geom2d_BSplineCurve.hxx>
#include <Geom2d_BezierCurve.hxx>
//#define DRAW
#ifdef DRAW
#include <DrawTrSurf.hxx>
#endif
@@ -463,7 +464,7 @@ static void Function_SetUVBounds(Standard_Real& myU1,
// box+sphere >>
Standard_Real UU = 0.;
ElSLib::Parameters(SP, P1, U1, V1);
Standard_Real eps = 2.*Epsilon(1.);
Standard_Real eps = 10.*Epsilon(1.);
Standard_Real dt = Max(Precision::PConfusion(), 0.01*(W2-W1));
if(Abs(U1) < eps)
{