From 91e9b44234ae9e3da8cb549879834d5cb1b8501d Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 31 Dec 2020 11:23:14 +0000 Subject: [PATCH] Include : - aggiornamento prototipi. --- EExBeamMgr.h | 2 +- EInAPI.h | 2 +- EXeExecutor.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/EExBeamMgr.h b/EExBeamMgr.h index 6e3a34c..8785918 100644 --- a/EExBeamMgr.h +++ b/EExBeamMgr.h @@ -38,7 +38,7 @@ class __declspec( novtable) IBeamMgr virtual bool SetPartProdNbr( int nProdNbr) = 0 ; virtual bool SetPartName( const std::string& sName) = 0 ; virtual bool SetPartCount( int nCount) = 0 ; - virtual bool SetPartBox( double dLength, double dHeight, double dWidth) = 0 ; + virtual bool SetPartBox( double dLength, double dHeight, double dWidth, bool bUpdate = true) = 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, bool bUpdate = true) = 0 ; virtual int ModifyProcess( int nGeomId, int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, diff --git a/EInAPI.h b/EInAPI.h index 46e81ea..cf2c8ab 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -121,7 +121,7 @@ EIN_EXPORT BOOL __stdcall EgtBeamErasePart( void) ; 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) ; +EIN_EXPORT BOOL __stdcall EgtBeamSetPartBox( double dLength, double dHeight, double dWidth, BOOL bUpdate) ; 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, BOOL bUpdate) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 1ec7a24..8702148 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -127,7 +127,7 @@ EXE_EXPORT bool ExeBeamErasePart( void) ; 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) ; +EXE_EXPORT bool ExeBeamSetPartBox( double dLength, double dHeight, double dWidth, bool bUpdate = true) ; 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, bool bUpdate = true) ; EXE_EXPORT int ExeBeamModifyProcess( int nGeomId, int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId,