diff --git a/EExBeamMgr.h b/EExBeamMgr.h index 7ab8df5..796e0ff 100644 --- a/EExBeamMgr.h +++ b/EExBeamMgr.h @@ -1,13 +1,14 @@ //---------------------------------------------------------------------------- -// EgalTech 2020-2021 +// EgalTech 2020-2022 //---------------------------------------------------------------------------- -// File : EExBeamMgr.h Data : 01.06.21 Versione : 2.2f1 +// File : EExBeamMgr.h Data : 06.07.22 Versione : 2.4g2 // Contenuto : Dichiarazione della interfaccia IBeamMgr. // // // // Modifiche : 30.08.20 DS Creazione modulo. // 01.06.21 DS Aggiunti parametri vsUAtt per Process. +// 06.07.22 DS Aggiunta GetSideData. // //---------------------------------------------------------------------------- @@ -41,6 +42,7 @@ class __declspec( novtable) IBeamMgr virtual bool SetPartName( const std::string& sName) = 0 ; virtual bool SetPartCount( int nCount) = 0 ; virtual bool SetPartBox( double dLength, double dHeight, double dWidth, bool bUpdate = true) = 0 ; + virtual bool GetSideData( int nSide, Frame3d& frRef, double& dLength, double& dWidth, double& dHeight) = 0 ; virtual int AddProcess( int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt, int nCrvId, int nCrv2Id, bool bUpdate = true) = 0 ; diff --git a/EInAPI.h b/EInAPI.h index 03c0995..c95d74d 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -130,6 +130,9 @@ EIN_EXPORT BOOL __stdcall EgtBeamSetPartProdNbr( int nProdNbr) ; EIN_EXPORT BOOL __stdcall EgtBeamSetPartName( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtBeamSetPartCount( int nCount) ; EIN_EXPORT BOOL __stdcall EgtBeamSetPartBox( double dLength, double dHeight, double dWidth, BOOL bUpdate) ; +EIN_EXPORT BOOL __stdcall EgtBeamGetSideData( int nSide, + double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3], + double* pdLength, double* pdWidth, double* pdHeight) ; EIN_EXPORT int __stdcall EgtBeamAddProcess( int nGroup, int nProc, int nSide, const wchar_t* wsDes, int nProcId, const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3], int nPar, const double vPar[], const wchar_t* wsPar, const wchar_t* wsUAtts, diff --git a/EXeExecutor.h b/EXeExecutor.h index dc1bd81..b8b5c50 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -137,6 +137,7 @@ EXE_EXPORT bool ExeBeamSetPartProdNbr( int nProdNbr) ; EXE_EXPORT bool ExeBeamSetPartName( const std::string& sName) ; EXE_EXPORT bool ExeBeamSetPartCount( int nCount) ; EXE_EXPORT bool ExeBeamSetPartBox( double dLength, double dHeight, double dWidth, bool bUpdate = true) ; +EXE_EXPORT bool ExeBeamGetSideData( int nSide, Frame3d& frRef, double& dLength, double& dWidth, double& dHeight) ; EXE_EXPORT int ExeBeamAddProcess( int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt, int nCrvId, int nCrv2Id, bool bUpdate = true) ;