EgtInterface 1.6k9 :

- aggiornamenti vari.
This commit is contained in:
Dario Sassi
2015-11-26 16:50:57 +00:00
parent 77b037d992
commit 1e9782b3c4
3 changed files with 25 additions and 0 deletions
+18
View File
@@ -679,9 +679,27 @@ __stdcall EgtSimStop( void)
return ( ExeSimStop() ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Generation
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGenerate( const wchar_t* wsCncFile, const wchar_t* wsInfo)
{
return ( ExeGenerate( wstrztoA( wsCncFile), wstrztoA( wsInfo)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Machine Calc
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetCalcTipFromPositions( double dX, double dY, double dZ, double dAngA, double dAngB,
BOOL bBottom, double ptTip[3])
{
Point3d ptTmp ;
if ( ! ExeGetCalcTipFromPositions( dX, dY, dZ, dAngA, dAngB, ( bBottom != FALSE), ptTmp))
return FALSE ;
// ritorno i dati
if ( ptTip != nullptr)
VEC_FROM_3D( ptTip, ptTmp) ;
return TRUE ;
}