EgtInterface 2.2c1 :
- a EgtAutomaticPackParts aggiunto parametro bGuillotineMode.
This commit is contained in:
+2
-2
@@ -355,7 +355,7 @@ __stdcall EgtGetPartClusterCenterGlob( int nId[], int nCount, double ptCen[3])
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtAutomaticPackParts( int nId[], int nCount, BOOL bMinimizeOnXvsY, BOOL bReducedCut, int nMaxTime)
|
||||
__stdcall EgtAutomaticPackParts( int nId[], int nCount, BOOL bMinimizeOnXvsY, BOOL bReducedCut, BOOL bGuillotineMode, int nMaxTime)
|
||||
{
|
||||
// verifico
|
||||
if ( nId == nullptr || nCount <= 0)
|
||||
@@ -366,7 +366,7 @@ __stdcall EgtAutomaticPackParts( int nId[], int nCount, BOOL bMinimizeOnXvsY, BO
|
||||
for ( int i = 0 ; i < nCount ; ++ i)
|
||||
vIds[i] = nId[i] ;
|
||||
// eseguo
|
||||
bool bOk = ExeAutomaticPackParts( vIds, ( bMinimizeOnXvsY != FALSE), ( bReducedCut != FALSE), nMaxTime) ;
|
||||
bool bOk = ExeAutomaticPackParts( vIds, ( bMinimizeOnXvsY != FALSE), ( bReducedCut != FALSE), ( bGuillotineMode != FALSE), nMaxTime) ;
|
||||
// aggiorno il vettore
|
||||
for ( int i = 0 ; i < nCount ; ++ i)
|
||||
nId[i] = vIds[i] ;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user