EgtInterface 2.4a2 :

- aggiunti prototipi EgtGetMachiningStartPoint e EgtGetMachiningEndPoint.
This commit is contained in:
DarioS
2022-01-10 18:35:36 +01:00
parent de63c8e41f
commit 962eb979a5
2 changed files with 26 additions and 0 deletions
+26
View File
@@ -1751,6 +1751,32 @@ __stdcall EgtIsMachiningEmpty( void)
return ( ExeIsMachiningEmpty() ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetMachiningStartPoint( double ptP[3])
{
// recupero il punto
Point3d ptStart ;
if ( ! ExeGetMachiningStartPoint( ptStart))
return FALSE ;
// ritorno il punto
VEC_FROM_3D( ptP, ptStart)
return TRUE ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetMachiningEndPoint( double ptP[3])
{
// recupero il punto
Point3d ptEnd ;
if ( ! ExeGetMachiningEndPoint( ptEnd))
return FALSE ;
// ritorno il punto
VEC_FROM_3D( ptP, ptEnd)
return TRUE ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtApplyAllMachinings( BOOL bRecalc, BOOL bStopOnFirstErr, wchar_t*& wsErrList)