EgtExecutor :
- aggiunto controllo alla funzione MyCurveCurveInters.
This commit is contained in:
@@ -1032,6 +1032,9 @@ MyCurveCurveInters( const int nId1, const int nId2, const int nDestGrpId, int& n
|
||||
CurveLocal Crv1Loc( pGeomDB, nId1, frDest) ;
|
||||
CurveLocal Crv2Loc( pGeomDB, nId2, frDest) ;
|
||||
|
||||
if( Crv1Loc.Get() == nullptr || Crv2Loc.Get() == nullptr)
|
||||
return GDB_ID_NULL ;
|
||||
|
||||
// intersezione fra le curve nel piano XY locale
|
||||
IntersCurveCurve intCC( *Crv1Loc, *Crv2Loc, true) ;
|
||||
int nInters = 0 ;
|
||||
|
||||
Reference in New Issue
Block a user