EgtExecutor 1.9l1 :
- correzione e migliorie a ExeSurfTmSurfTmInters.
This commit is contained in:
+3
-2
@@ -437,7 +437,7 @@ MySurfTmSurfTmInters( int nId1, int nId2, int nDestGrpId,
|
||||
for ( size_t i = 0 ; i < vPnt.size() ; ++ i) {
|
||||
// creo il punto
|
||||
PtrOwner<IGeoPoint3d> 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 ;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user