EgtInterface 1.6n1 :

- aggiornamento.
This commit is contained in:
Dario Sassi
2016-02-08 10:50:28 +00:00
parent 9ca9dc9137
commit 4e98343a07
2 changed files with 12 additions and 3 deletions
+12 -3
View File
@@ -240,7 +240,7 @@ __stdcall EgtMoveToSnapPointOnCollision( int nId[], int nCount, BOOL bReducedCut
if ( ! ExeMoveToSnapPointOnCollision( vIds, ( bReducedCut != FALSE), dMaxMove, dXmin, dYmin, dXmax, dYmax, bMoved))
return FALSE ;
if ( pbMoved != nullptr)
*pbMoved = bMoved ;
*pbMoved = ( bMoved ? TRUE : FALSE) ;
return TRUE ;
}
@@ -280,7 +280,16 @@ __stdcall EgtGetPartClusterCenterGlob( int nId[], int nCount, double ptCen[3])
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtVerifyMachining( int nMchId, bool bReduced, int nRawId)
__stdcall EgtVerifyMachining( int nMchId, int* pnResult)
{
return ( ExeVerifyMachining( nMchId, bReduced, nRawId) ? TRUE : FALSE) ;
if ( pnResult == nullptr)
return FALSE ;
return ( ExeVerifyMachining( nMchId, *pnResult) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtVerifyCutAsSplitting( int nMchId)
{
return ( ExeVerifyCutAsSplitting( nMchId) ? TRUE : FALSE) ;
}