diff --git a/API_Nesting.cpp b/API_Nesting.cpp index 620cf10..6f30c24 100644 --- a/API_Nesting.cpp +++ b/API_Nesting.cpp @@ -103,15 +103,15 @@ __stdcall EgtMoveBoxCluster( int nId[], int nCount, double vtMove[3], //----------------------------------------------------------------------------- BOOL -__stdcall EgtCreateOutRegion( int nParentId, - double dXmin, double dYmin, double dXmax, double dYmax, double dZ) +__stdcall EgtCreateOutRegionRectangle( int nParentId, + double dXmin, double dYmin, double dXmax, double dYmax, double dZ) { return ( ExeCreateOutRegion( nParentId, dXmin, dYmin, dXmax, dYmax, dZ) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- BOOL -__stdcall EgtCreateOutRegion2( int nParentId, int nOutCrvId) +__stdcall EgtCreateOutRegion( int nParentId, int nOutCrvId) { return ( ExeCreateOutRegion( nParentId, nOutCrvId) ? TRUE : FALSE) ; } @@ -136,8 +136,7 @@ __stdcall EgtVerifyPartCluster( int nId[], int nCount, BOOL bReducedCut) //----------------------------------------------------------------------------- BOOL -__stdcall EgtPackPartCluster( int nId[], int nCount, BOOL bReducedCut, - double dXmin, double dYmin, double dXmax, double dYmax, BOOL bBottomUp) +__stdcall EgtPackPartClusterInRectangle( int nId[], int nCount, BOOL bReducedCut, BOOL bBottomUp) { // verifico if ( nId == nullptr || nCount <= 0) @@ -148,14 +147,14 @@ __stdcall EgtPackPartCluster( int nId[], int nCount, BOOL bReducedCut, for ( int i = 0 ; i < nCount ; ++ i) vIds.push_back( nId[i]) ; // eseguo - if ( ! ExePackPartCluster( vIds, ( bReducedCut != FALSE), dXmin, dYmin,dXmax, dYmax, ( bBottomUp != FALSE))) + if ( ! ExePackPartClusterInRectangle( vIds, ( bReducedCut != FALSE), ( bBottomUp != FALSE))) return FALSE ; return TRUE ; } //----------------------------------------------------------------------------- BOOL -__stdcall EgtPackPartCluster2( int nId[], int nCount, BOOL bReducedCut, BOOL bBottomUp) +__stdcall EgtPackPartCluster( int nId[], int nCount, BOOL bReducedCut, BOOL bBottomUp) { // verifico if ( nId == nullptr || nCount <= 0) diff --git a/EgtInterface.rc b/EgtInterface.rc index d16ea8d..61be7e6 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ