From c45912a2e467c4426cfabfce2fa6014a8f933c0e Mon Sep 17 00:00:00 2001 From: DarioS Date: Thu, 21 Jul 2022 07:01:00 +0200 Subject: [PATCH] =?UTF-8?q?EgtGeomKernel=202.4g2=20:=20-=20modifica=20a=20?= =?UTF-8?q?ProjectCurveOnPlane=20per=20renderla=20pi=C3=B9=20efficace.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CurveAux.cpp | 2 +- EgtGeomKernel.rc | Bin 11718 -> 11718 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CurveAux.cpp b/CurveAux.cpp index 57d456c..0c401aa 100644 --- a/CurveAux.cpp +++ b/CurveAux.cpp @@ -790,7 +790,7 @@ ProjectCurveOnPlane( const ICurve& crCrv, const Plane3d& plPlane) { // determino se curva piana e suo eventuale piano Plane3d plCrv ; - if ( crCrv.IsFlat( plCrv)) { + if ( crCrv.IsFlat( plCrv, false, EPS_SMALL / 2)) { // se il piano della curva è parallelo a quello di proiezione if ( AreSameOrOppositeVectorExact( plCrv.GetVersN(), plPlane.GetVersN())) { // copio la curva diff --git a/EgtGeomKernel.rc b/EgtGeomKernel.rc index d3fb16d8984d31e8a81d869c95c9b5d44880f7f1..f1cdf9736878b15fc5c7a0319d2993c9a5ecb75e 100644 GIT binary patch delta 100 zcmX>WeJpyzFE&P_&G*I5Gfl4J(wY2?Q;pGRvLd(cW-qP@EMOU1W|)YS2jk{G;Q$~X Qr~yeBsu05nEu}f!0J&5j?f?J) delta 100 zcmX>WeJpyzFE&QQ&G*I5Gfl4J(wY2?Q;pGZvLd(cW-qP@EMOU1W|)YS2jk{G;Q$~X Qr~yeBsu05nEu}f!0Jpp!<^TWy