EgtInterface 2.2c1 :

- a EgtAutomaticPackParts aggiunto parametro bGuillotineMode.
This commit is contained in:
Dario Sassi
2020-03-03 09:42:09 +00:00
parent abe152f986
commit 68b003ec39
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -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] ;
BIN
View File
Binary file not shown.