EgtInterface 2.2i2 :
- aggiunte interfacce per funzioni EgtCutSurfTmPlane, EgtCutSurfTmClosedCurve, EgtGroupSwap - aggiunte interfacce per funzioni EgtInitBeamMgr, EgtBeamCalcSolid, EgtBeamGetSolid, EgtBeamShowSolid.
This commit is contained in:
@@ -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) ;
|
||||
}
|
||||
Reference in New Issue
Block a user