X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FProjLib%2FProjLib_ComputeApprox.cxx;h=743c9668ad0b739e7434a3603d26f46822139913;hp=9871ac4233dcb1454e2fbc8eb72dd5a9b81c4ba3;hb=8e007da7af80ae5c1103f6aaaf2846f161fd8e29;hpb=d4f1753b9c8630fb440ef199eccf305816f8f7b4 diff --git a/src/ProjLib/ProjLib_ComputeApprox.cxx b/src/ProjLib/ProjLib_ComputeApprox.cxx index 9871ac4233..743c9668ad 100644 --- a/src/ProjLib/ProjLib_ComputeApprox.cxx +++ b/src/ProjLib/ProjLib_ComputeApprox.cxx @@ -43,6 +43,7 @@ #include #include +//#define DRAW #ifdef DRAW #include #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) {