EgtExecutor :
- nell'ExeOffsetCurveAdv le curve vengono restituite in ordine decrescente di lunghezza - aggiunta ExeClosedCurveClassify.
This commit is contained in:
@@ -107,7 +107,7 @@ ExeOffsetCurveAdv( int nId, double dDist, int nType, int* pnCount)
|
||||
// salvo le curve di offset
|
||||
int nCount = 0 ;
|
||||
int nFirstId = GDB_ID_NULL ;
|
||||
PtrOwner<ICurve> pOffs( OffsCrv.GetCurve()) ;
|
||||
PtrOwner<ICurve> pOffs( OffsCrv.GetLongerCurve()) ;
|
||||
while ( bOk && ! IsNull( pOffs)) {
|
||||
// inserisco la curva nel DB geometrico
|
||||
int nNewId = pGeomDB->InsertGeoObj( GDB_ID_NULL, nId, GDB_AFTER, Release( pOffs)) ;
|
||||
@@ -119,7 +119,7 @@ ExeOffsetCurveAdv( int nId, double dDist, int nType, int* pnCount)
|
||||
if ( nFirstId == GDB_ID_NULL)
|
||||
nFirstId = nNewId ;
|
||||
// passo alla successiva
|
||||
pOffs.Set( OffsCrv.GetCurve()) ;
|
||||
pOffs.Set( OffsCrv.GetLongerCurve()) ;
|
||||
}
|
||||
if ( ! bOk)
|
||||
nCount = - 1 ;
|
||||
|
||||
Reference in New Issue
Block a user