EgtInterface 2.2i2 :

- aggiunte interfacce per funzioni EgtCutSurfTmPlane, EgtCutSurfTmClosedCurve, EgtGroupSwap
- aggiunte interfacce per funzioni EgtInitBeamMgr, EgtBeamCalcSolid, EgtBeamGetSolid, EgtBeamShowSolid.
This commit is contained in:
Dario Sassi
2020-09-02 17:49:40 +00:00
parent 81c91cdb92
commit 8718eff972
7 changed files with 96 additions and 20 deletions
+51
View File
@@ -0,0 +1,51 @@
//----------------------------------------------------------------------------
// EgalTech 2020-2020
//----------------------------------------------------------------------------
// File : API_BeamMgr.cpp Data : 02.09.20 Versione : 2.2i2
// Contenuto : Funzioni Beam Manager per API.
//
//
//
// Modifiche : 02.09.20 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
//--------------------------- Include ----------------------------------------
#include "stdafx.h"
#include "API.h"
#include "/EgtDev/Include/EInAPI.h"
#include "/EgtDev/Include/EXeExecutor.h"
#include "/EgtDev/Include/EgtStringConverter.h"
using namespace std ;
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtInitBeamMgr( int nFlag)
{
return ( ExeInitBeamMgr( nFlag) ? TRUE : FALSE) ;
}
EXE_EXPORT int ExeBeamGetSolid( int nPartId) ;
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtBeamCalcSolid( int nPartId, BOOL bRecalc)
{
return ( ExeBeamCalcSolid( nPartId, ( bRecalc != FALSE)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtBeamGetSolid( int nPartId)
{
return ExeBeamGetSolid( nPartId) ;
}
//-----------------------------------------------------------------------------
BOOL __stdcall
EgtBeamShowSolid( int nPartId, BOOL bShow)
{
return ( ExeBeamShowSolid( nPartId, ( bShow != FALSE)) ? TRUE : FALSE) ;
}