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 e0e43ec..26f3adf 100644 Binary files a/EgtExecutor.rc and b/EgtExecutor.rc differ