0024988: Wrong result done by projection algorithm
[occt.git] / src / LocOpe / LocOpe_SplitShape.cxx
index 79d49d9..aac49a4 100644 (file)
@@ -1466,7 +1466,7 @@ static void ChoixUV(const TopoDS_Edge& Last,
       ang = -M_PI;
     }
 
-    if ((dist < tol)  && (ang > angmax)) {
+    if ((dist - tol < Epsilon(1.0))  && (ang > angmax)) {
       imin = index;
       angmax = ang;
     }