From 7462e7c67d18bbcb16a49a43bc9f55b9f5c1c8c8 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 10 Dec 2018 07:52:36 +0000 Subject: [PATCH] EgtExecutor 1.9l1 : - correzione e migliorie a ExeSurfTmSurfTmInters. --- EXE_GeoInters.cpp | 5 +++-- EgtExecutor.rc | Bin 16184 -> 16184 bytes 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/EXE_GeoInters.cpp b/EXE_GeoInters.cpp index f8bc39b..c3f7ce6 100644 --- a/EXE_GeoInters.cpp +++ b/EXE_GeoInters.cpp @@ -437,7 +437,7 @@ MySurfTmSurfTmInters( int nId1, int nId2, int nDestGrpId, for ( size_t i = 0 ; i < vPnt.size() ; ++ i) { // creo il punto PtrOwner pGeoPnt( CreateGeoPoint3d()) ; - if ( ! IsNull( pGeoPnt)) + if ( IsNull( pGeoPnt)) return GDB_ID_NULL ; // setto il punto pGeoPnt->Set( vPnt[i]) ; @@ -482,7 +482,8 @@ MySurfTmSurfTmInters( int nId1, int nId2, int nDestGrpId, if ( bInvert) pLine->Invert() ; // lo accodo alla composita - if ( ! pCrvCompo->AddCurve( Release( pLine), true, dToler)) + if ( ! pCrvCompo->AddCurve( Release( pLine), true, 1.1 * dToler) && + ! AreSamePointApprox( ptNear, vBpt[nInd].second)) return GDB_ID_NULL ; // aggiorno il prossimo near ptNear = vBpt[nInd].second ; diff --git a/EgtExecutor.rc b/EgtExecutor.rc index e0e43ec2d72895bbdf27e7d4df2a1d2fb9691b43..26f3adfb3d15acf3cf63c64db350536c716eec62 100644 GIT binary patch delta 121 zcmdl{x1(;u4>ndK1|0^&%@@V4Gflq2nZumJU^qFDTX%B-R|N}H?x5UdrpX5c5po7f iZj75332QOKH9IpSY4l^ndq1|0_D%@@V4Gflq2nZumTU_3dHTX%B-R|N}H?x5UdrpX5c5po7f iZj75332QOKH9IpSY4l^