EgtInterface :
- aggiunte funzioni EgtGetCalcToolDirFromAngles e EgtSetAxisPos.
This commit is contained in:
@@ -756,3 +756,25 @@ __stdcall EgtGetCalcTipFromPositions( double dX, double dY, double dZ, double dA
|
||||
VEC_FROM_3D( ptTip, ptTmp) ;
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetCalcToolDirFromAngles( double dAngA, double dAngB, double vtDir[3])
|
||||
{
|
||||
Vector3d vtTmp ;
|
||||
if ( ! ExeGetCalcToolDirFromAngles( dAngA, dAngB, vtTmp))
|
||||
return FALSE ;
|
||||
// ritorno i dati
|
||||
if ( vtDir != nullptr)
|
||||
VEC_FROM_3D( vtDir, vtTmp) ;
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Machine Move
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSetAxisPos( const wchar_t* wsAxis, double dVal)
|
||||
{
|
||||
return ( ExeSetAxisPos( wstrztoA( wsAxis), dVal) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user