//---------------------------------------------------------------------------- // EgalTech 2014-2024 //---------------------------------------------------------------------------- // File : EInAPI.h Data : 09.01.24 Versione : 2.5l6 // Contenuto : API (application programming interface). // // // // Modifiche : 26.08.14 DS Creazione modulo. // // //---------------------------------------------------------------------------- #pragma once #define NOMINMAX #include //----------------------- Macro per import/export ---------------------------- #undef EIN_EXPORT #if defined( I_AM_EIN) // da definirsi solo nella DLL #define EIN_EXPORT __declspec( dllexport) #else #define EIN_EXPORT __declspec( dllimport) #endif //----------------------------------------------------------------------------- #ifdef __cplusplus extern "C" { #endif // API // General EIN_EXPORT BOOL __stdcall EgtInit( int nDebug, const wchar_t* wsLogFile, const wchar_t* wsLogMsg) ; EIN_EXPORT BOOL __stdcall EgtExit( void) ; typedef bool (__stdcall * psfOnTerminateProcess) ( int) ; EIN_EXPORT BOOL __stdcall EgtSetOnTerminateProcess( psfOnTerminateProcess pFun) ; EIN_EXPORT BOOL __stdcall EgtSetUserLevel( int nUserLev) ; EIN_EXPORT int __stdcall EgtGetUserLevel( void) ; EIN_EXPORT BOOL __stdcall EgtSetKey( const wchar_t* wsKey) ; EIN_EXPORT BOOL __stdcall EgtSetNestKey( const wchar_t* wsNestKey) ; EIN_EXPORT BOOL __stdcall EgtSetFont( const wchar_t* wsNfeFontDir, const wchar_t* wsDefaultFont) ; EIN_EXPORT BOOL __stdcall EgtGetNfeFontDir( wchar_t*& wsNfeFontDir) ; EIN_EXPORT BOOL __stdcall EgtGetDefaultFont( wchar_t*& wsDefaultFont) ; EIN_EXPORT BOOL __stdcall EgtSetLuaLibs( const wchar_t* wsLuaLibsDir) ; EIN_EXPORT BOOL __stdcall EgtSetIniFile( const wchar_t* wsIniFile) ; EIN_EXPORT BOOL __stdcall EgtGetIniFile( wchar_t*& wsIniFile) ; EIN_EXPORT BOOL __stdcall EgtSetCommandLogger( const wchar_t* wsLogFile) ; EIN_EXPORT void __stdcall EgtEnableCommandLogger( void) ; EIN_EXPORT void __stdcall EgtDisableCommandLogger( void) ; EIN_EXPORT BOOL __stdcall EgtGetVersionInfo( wchar_t*& wsVer) ; EIN_EXPORT BOOL __stdcall EgtGetKeyInfo( wchar_t*& wsKey) ; EIN_EXPORT BOOL __stdcall EgtSetLockType( int nType) ; EIN_EXPORT BOOL __stdcall EgtSetLockId( const wchar_t* wsLockId) ; EIN_EXPORT BOOL __stdcall EgtSetNetHwKey( BOOL bNetHwKey) ; EIN_EXPORT BOOL __stdcall EgtGetKeyLevel( int nProd, int nVer, int nLev, int* pnKLev) ; EIN_EXPORT BOOL __stdcall EgtGetKeyOptions( int nProd, int nVer, int nLev, unsigned int* pnOpt2) ; EIN_EXPORT BOOL __stdcall EgtGetKeyLeftDays( int* pnLeftDays) ; EIN_EXPORT BOOL __stdcall EgtGetKeyAssLeftDays( int* pnAssLeftDays) ; EIN_EXPORT BOOL __stdcall EgtGetKeyOptLeftDays( int* pnOptLeftDays) ; EIN_EXPORT BOOL __stdcall EgtGetNetHwKey( void) ; EIN_EXPORT BOOL __stdcall EgtGetOsInfo( wchar_t*& wsOs) ; EIN_EXPORT BOOL __stdcall EgtGetCpuInfo( wchar_t*& wsCpu) ; EIN_EXPORT BOOL __stdcall EgtGetMemoryInfo( wchar_t*& wsMem) ; EIN_EXPORT BOOL __stdcall EgtFreeMemory( void* pMem) ; EIN_EXPORT BOOL __stdcall EgtOutLog( const wchar_t* wsMsg) ; typedef int (__stdcall * psfProcEvents) (int, int) ; EIN_EXPORT BOOL __stdcall EgtSetProcessEvents( psfProcEvents pFun) ; typedef BOOL (__stdcall * psfOutTextW) (wchar_t*&) ; EIN_EXPORT BOOL __stdcall EgtSetOutText( psfOutTextW pFun) ; EIN_EXPORT BOOL __stdcall EgtSetTempDir( const wchar_t* wsTempDir) ; EIN_EXPORT BOOL __stdcall EgtGetTempDir( wchar_t*& wsTempDir) ; EIN_EXPORT BOOL __stdcall EgtSetMainWindowHandle( HWND hMainWnd) ; EIN_EXPORT BOOL __stdcall EgtGetStringUtf8FromIni( const wchar_t* wsSec, const wchar_t* wsKey, const wchar_t* wsDef, wchar_t*& wsVal, const wchar_t* wsIniFile) ; EIN_EXPORT BOOL __stdcall EgtWriteStringUtf8ToIni( const wchar_t* wsSec, const wchar_t* wsKey, const wchar_t* wsVal, const wchar_t* wsIniFile) ; // UiUnits EIN_EXPORT BOOL __stdcall EgtSetUiUnits( BOOL bMM) ; EIN_EXPORT BOOL __stdcall EgtUiUnitsAreMM( void) ; EIN_EXPORT double __stdcall EgtFromUiUnits( double dVal) ; EIN_EXPORT double __stdcall EgtToUiUnits( double dVal) ; // Context (GeomDB) EIN_EXPORT int __stdcall EgtInitContext( void) ; EIN_EXPORT BOOL __stdcall EgtDeleteContext( int nGseCtx) ; EIN_EXPORT BOOL __stdcall EgtSetCurrentContext( int nGseCtx) ; EIN_EXPORT BOOL __stdcall EgtResetCurrentContext( void) ; EIN_EXPORT int __stdcall EgtGetCurrentContext( void) ; EIN_EXPORT BOOL __stdcall EgtSetDefaultMaterial( const int vCol[4]) ; EIN_EXPORT BOOL __stdcall EgtSetGridFrame( const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3]) ; EIN_EXPORT BOOL __stdcall EgtGetGridFrame( double ptOrig[3], double vX[3], double vY[3], double vZ[3]) ; EIN_EXPORT BOOL __stdcall EgtSetCurrFilePath( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtGetCurrFilePath( wchar_t*& wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtEnableModified( void) ; EIN_EXPORT BOOL __stdcall EgtDisableModified( void) ; EIN_EXPORT BOOL __stdcall EgtGetEnableModified( void) ; EIN_EXPORT BOOL __stdcall EgtSetModified( void) ; EIN_EXPORT BOOL __stdcall EgtResetModified( void) ; EIN_EXPORT BOOL __stdcall EgtGetModified( void) ; EIN_EXPORT BOOL __stdcall EgtNewFile( void) ; EIN_EXPORT BOOL __stdcall EgtOpenFile( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtInsertFile( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtSaveFile( const wchar_t* wsFilePath, int nFlag) ; EIN_EXPORT BOOL __stdcall EgtSaveObjToFile( int nNumId, const int nIds[], const wchar_t* wsFilePath, int nFlag) ; EIN_EXPORT BOOL __stdcall EgtSaveMachGroupToFile( int nMGroupId, int nNumPlusId, const int nPlusIds[], const wchar_t* wsFilePath, int nFlag) ; // Exchange EIN_EXPORT int __stdcall EgtGetFileType( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtSetBtlAuxDir( const wchar_t* wsBtlAuxDir) ; EIN_EXPORT BOOL __stdcall EgtImportBtl( const wchar_t* wsFilePath, int nFlag) ; EIN_EXPORT BOOL __stdcall EgtImportBtlx( const wchar_t* wsFilePath, int nFlag) ; EIN_EXPORT BOOL __stdcall EgtImportCnc( const wchar_t* wsFilePath, int nFlag) ; EIN_EXPORT BOOL __stdcall EgtImportCsf( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtImportDxf( const wchar_t* wsFilePath, double dScaleFactor) ; EIN_EXPORT BOOL __stdcall EgtImportPnt( const wchar_t* wsFilePath, int nFlag) ; EIN_EXPORT BOOL __stdcall EgtImportStl( const wchar_t* wsFilePath, double dScaleFactor) ; EIN_EXPORT BOOL __stdcall EgtImportOff( const wchar_t* wsFilePath, double dScaleFactor) ; EIN_EXPORT BOOL __stdcall EgtImportPly( const wchar_t* wsFilePath, double dScaleFactor) ; EIN_EXPORT BOOL __stdcall EgtImport3MF( const wchar_t* wsFilePath, int nFlag) ; EIN_EXPORT BOOL __stdcall EgtImport3dm( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtAdvancedImportIsEnabled( void) ; EIN_EXPORT BOOL __stdcall EgtAdvancedImport( const wchar_t* wsFilePath, double dLinToler, int nFlag) ; EIN_EXPORT BOOL __stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath, int nFlag, int nFilter) ; EIN_EXPORT BOOL __stdcall EgtExportStl( int nId, const wchar_t* wsFilePath, int nFilter) ; EIN_EXPORT BOOL __stdcall EgtExport3MF( int nId, const wchar_t* wsFilePath, int nFilter) ; EIN_EXPORT BOOL __stdcall EgtExport3dm( int nId, const wchar_t* wsFilePath, int nFilter) ; EIN_EXPORT BOOL __stdcall EgtExportSvg( int nId, const wchar_t* wsFilePath, int nFilter) ; EIN_EXPORT BOOL __stdcall EgtSetThreeJSLibDir( const wchar_t* wsThreeJSLibDir) ; EIN_EXPORT BOOL __stdcall EgtExportThreeJS( int nId, const wchar_t* wsFilePath, int nFilter) ; // BeamManager EIN_EXPORT BOOL __stdcall EgtInitBeamMgr( int nFlag) ; EIN_EXPORT BOOL __stdcall EgtBeamSetFlag( int nFlag) ; EIN_EXPORT int __stdcall EgtBeamCreatePart( void) ; EIN_EXPORT BOOL __stdcall EgtBeamSetPart( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtBeamErasePart( void) ; EIN_EXPORT BOOL __stdcall EgtBeamUpdatePart( 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, 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 BOOL __stdcall EgtBeamShowFacesName( BOOL bShow) ; EIN_EXPORT BOOL __stdcall EgtBeamShowLoadingSide( BOOL bShow, BOOL bFromLeft) ; 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, int nCrvId, int nCrv2Id, BOOL bUpdate) ; EIN_EXPORT int __stdcall EgtBeamModifyProcess( int nGeomId, 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, int nCrvId, int nCrv2Id, BOOL bUpdate) ; EIN_EXPORT BOOL __stdcall EgtBeamEraseProcess( int nGeomId, BOOL bUpdate) ; EIN_EXPORT BOOL __stdcall EgtBeamEnableProcess( int nGeomId, BOOL bEnable, BOOL bUpdate) ; EIN_EXPORT BOOL __stdcall EgtBeamCalcAllSolids( BOOL bShow, BOOL bRecalc) ; EIN_EXPORT BOOL __stdcall EgtBeamShowAllSolids( BOOL bShow) ; EIN_EXPORT BOOL __stdcall EgtBeamCalcSolid( int nPartId, BOOL bRecalc) ; EIN_EXPORT int __stdcall EgtBeamGetSolid( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtBeamShowSolid( int nPartId, BOOL bShow) ; EIN_EXPORT BOOL __stdcall EgtBeamGetBuildingIsOn( int nAssGrpId) ; EIN_EXPORT BOOL __stdcall EgtBeamShowBuilding( int nAssGrpId, BOOL bShow) ; // Tsc Executor EIN_EXPORT BOOL __stdcall EgtInitTscExec( void) ; EIN_EXPORT BOOL __stdcall EgtTscExecFile( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtTscExecLine( const wchar_t* wsLine) ; // LUA Executor EIN_EXPORT BOOL __stdcall EgtLuaCreateGlobTable( const wchar_t* wsVar) ; EIN_EXPORT BOOL __stdcall EgtLuaSetGlobBoolVar( const wchar_t* wsVar, BOOL bVal) ; EIN_EXPORT BOOL __stdcall EgtLuaSetGlobIntVar( const wchar_t* wsVar, int nVal) ; EIN_EXPORT BOOL __stdcall EgtLuaSetGlobNumVar( const wchar_t* wsVar, double dVal) ; EIN_EXPORT BOOL __stdcall EgtLuaSetGlobStringVar( const wchar_t* wsVar, const wchar_t* wsVal) ; EIN_EXPORT BOOL __stdcall EgtLuaSetGlobVectorVar( const wchar_t* wsVar, const double vtVal[3]) ; EIN_EXPORT BOOL __stdcall EgtLuaSetGlobPointVar( const wchar_t* wsVar, const double ptVal[3]) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobBoolVar( const wchar_t* wsVar, BOOL* pbVal) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobIntVar( const wchar_t* wsVar, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobNumVar( const wchar_t* wsVar, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobStringVar( const wchar_t* wsVar, wchar_t*& wsVal) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobVectorVar( const wchar_t* wsVar, double vtVal[3]) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobPointVar( const wchar_t* wsVar, double ptVal[3]) ; EIN_EXPORT BOOL __stdcall EgtLuaResetGlobVar( const wchar_t* wsVar) ; EIN_EXPORT BOOL __stdcall EgtLuaExistsFunction( const wchar_t* wsFun) ; EIN_EXPORT BOOL __stdcall EgtLuaCallFunction( const wchar_t* wsFun) ; EIN_EXPORT BOOL __stdcall EgtLuaEvalNumExpr( const wchar_t* wsExpr, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtLuaEvalStringExpr( const wchar_t* wsExpr, wchar_t*& wsVal) ; EIN_EXPORT BOOL __stdcall EgtLuaExecLine( const wchar_t* wsLine) ; EIN_EXPORT BOOL __stdcall EgtLuaExecFile( const wchar_t* wsFilePath, BOOL bLogInfo) ; EIN_EXPORT BOOL __stdcall EgtLuaRequire( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtLuaGetLastError( wchar_t*& wsError) ; // GeomDB Create EIN_EXPORT int __stdcall EgtCreateGroup( int nParentId, const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateGeoPoint( int nParentId, const double ptP[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateGeoVector( int nParentId, const double vtV[3], const double ptB[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateGeoFrame( int nParentId, const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateText( int nParentId, const double ptP[3], const wchar_t* wsText, double dH, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateTextEx( int nParentId, const double ptP[3], double dAngRotDeg, const wchar_t* wsText, const wchar_t* wsFont, BOOL bItalic, double dH, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateTextAdv( int nParentId, const double ptP[3], double dAngRotDeg, const wchar_t* wsText, const wchar_t* wsFont, int nW, BOOL bItalic, double dH, double dRat, double dAddAdv, int nInsPos, int nRefType) ; EIN_EXPORT BOOL __stdcall EgtSetCurrDimensionStyle( double dExtLineLen, double dArrowLen, double dTextDist, int nLenIsMM, int nDecDigit, const wchar_t* wsFont, double dTextHeight) ; EIN_EXPORT BOOL __stdcall EgtResetCurrDimensionStyle( void) ; EIN_EXPORT int __stdcall EgtCreateHorizontalDimension( int nParentId, const double ptP1[3], const double ptP2[3], const double ptDim[3], const wchar_t* wsText, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateVerticalDimension( int nParentId, const double ptP1[3], const double ptP2[3], const double ptDim[3], const wchar_t* wsText, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateAlignedDimension( int nParentId, const double ptP1[3], const double ptP2[3], const double ptDim[3], const wchar_t* wsText, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateAngularDimension( int nParentId, const double ptV[3], const double ptP1[3], const double ptP2[3], const double ptDim[3], const wchar_t* wsText, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateAngularDimensionEx( int nParentId, const double ptV1[3], const double ptP1[3], const double ptV2[3], const double ptP2[3], const double ptDim[3], const wchar_t* wsText, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateDiametralDimension( int nParentId, int nCrvId, const double ptDim[3], const wchar_t* wsText, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateRadialDimension( int nParentId, int nCrvId, const double ptDim[3], const wchar_t* wsText, int nRefType) ; // GeomDB Create Curve EIN_EXPORT int __stdcall EgtCreateLine( int nParentId, const double ptIni[3], const double ptFin[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateLineEx( int nParentId, const double ptIni[3], int nSepI, int nIdI, const double ptFin[3], int nSepF, int nIdF, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateLinePDL( int nParentId, const double ptIni[3], double dDirDeg, double dLen, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateLinePVL( int nParentId, const double ptIni[3], const double vtDir[3], double dLen, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateLineMinPointCurve( int nParentId, const double ptStart[3], int nCrvId, double dNearPar, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCircle( int nParentId, const double ptCen[3], double dRad, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCircleCP( int nParentId, const double ptCen[3], const double ptOn[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCircleCPEx( int nParentId, const double ptCen[3], const double ptOn[3], int nSepO, int nIdO, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCircle2P( int nParentId, const double ptP1[3], const double ptP2[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCircle3P( int nParentId, const double ptP1[3], const double ptP2[3], const double ptP3[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateArc( int nParentId, const double ptCen[3], double dRad, double dAngIniDeg, double dAngCenDeg, double dDeltaN, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateArcC2P( int nParentId, const double ptCen[3], const double ptStart[3], const double ptNearEnd[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateArcC2PEx( int nParentId, const double ptCen[3], const double ptStart[3], int nSepS, int nIdS, const double ptNearEnd[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateArc3P( int nParentId, const double ptP1[3], const double ptP2[3], const double ptP3[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateArc2PR( int nParentId, const double ptStart[3], const double ptEnd[3], double dRad, BOOL bCCW, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateArc2PD( int nParentId, const double ptStart[3], const double ptEnd[3], double dDirSDeg, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateArc2PDEx( int nParentId, const double ptStart[3], const double ptEnd[3], int nSep, int nId, double dDirSDeg, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateArc2PV( int nParentId, const double ptStart[3], const double ptEnd[3], const double vtDirS[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateBiArc( int nParentId, const double ptStart[3], const double ptEnd[3], double dDirSDeg, double dDirEDeg, double dPar, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveFillet( int nParentId, int nCrv1, const double ptNear1[3], int nCrv2, const double ptNear2[3], double dRad, BOOL bTrim, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveChamfer( int nParentId, int nCrv1, const double ptNear1[3], int nCrv2, const double ptNear2[3], double dDist, BOOL bTrim, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveBezier( int nParentId, int nDegree, const double ptCtrls[/*3x(nDegree+1)*/], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveBezierRational( int nParentId, int nDegree, const double ptCtrlWs[/*4x(nDegree+1)*/], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveBezierFromArc( int nParentId, int nArcId, BOOL bErase) ; EIN_EXPORT int __stdcall EgtCreateCurveCompo( int nParentId, int nNumId, const int nIds[], BOOL bErase) ; EIN_EXPORT int __stdcall EgtCreateCurveCompoByChain( int nParentId, int nNumId, const int nIds[], const double ptNear[3], BOOL bErase, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveCompoByReorder( int nParentId, int nNumId, const int nIds[], const double ptNear[3], BOOL bErase, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveCompoByInterpolation( int nParentId, int nP, const double ptPs[], int nType, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveCompoByApproximation( int nParentId, int nP, const double ptPs[], int nType, double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveCompoFromPoints( int nParentId, int nP, const double ptPs[/*3 x nP*/], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateCurveCompoFromPointBulges( int nParentId, int nPB, const double ptPBs[/*4 x nPB*/], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateRectangle2P( int nParentId, const double ptIni[3], const double ptCross[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateRectangle3P( int nParentId, const double ptIni[3], const double ptCross[3], const double ptDir[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreatePolygonFromRadius( int nParentId, int nNumSides, const double ptCen[3], const double ptCorn[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreatePolygonFromApothem( int nParentId, int nNumSides, const double ptCen[3], const double ptMid[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreatePolygonFromSide( int nParentId, int nNumSides, const double ptIni[3], const double ptFin[3], int nRefType) ; EIN_EXPORT int __stdcall EgtSurfBezierGetCurveU( int nSurfId, double dU, int nDestGroup) ; EIN_EXPORT int __stdcall EgtSurfBezierGetCurveV( int nSurfId, double dV, int nDestGroup) ; // GeomDB Create Surf EIN_EXPORT int __stdcall EgtCreateSurfFrRectangle( int nParentId, const double ptIni[3], const double ptCross[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfFlatRegion( int nParentId, int nNumId, const int nCrvIds[]) ; EIN_EXPORT int __stdcall EgtCreateSurfTmBBox( int nParentId, const double ptMin[3], const double ptMax[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmBox( int nParentId, const double ptIni[3], const double ptCross[3], const double ptDir[3], double dHeight, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmPyramid( int nParentId, const double ptIni[3], const double ptCross[3], const double ptDir[3], double dHeight, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmCylinder( int nParentId, const double ptOrig[3], const double vtN[3], double dRad, double dHeight, double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmCone( int nParentId, const double ptOrig[3], const double vtN[3], double dRad, double dHeight, double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmSphere( int nParentId, const double ptOrig[3], double dRad, double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmByFlatContour( int nParentId, int nCrvId, double dLinTol) ; EIN_EXPORT int __stdcall EgtCreateSurfTmByRegion( int nParentId, int nNumId, const int nCrvIds[], double dLinTol) ; EIN_EXPORT int __stdcall EgtCreateSurfTmByExtrusion( int nParentId, int nNumId, const int nCrvIds[], const double vtExtr[3], double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmByRegionExtrusion( int nParentId, int nNumId, const int nCrvIds[], const double vtExtr[3], double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmByRevolve( int nParentId, int nCrvId, const double ptAx[3], const double vtAx[3], BOOL bCapEnds, double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmByScrewing( int nParentId, int nCrvId, const double ptAx[3], const double vtAx[3], double dAngRotDeg, double dMove, BOOL bCapEnds, double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmSwept( int nParentId, int nSectId, int nGuideId, const double vtAx[3], BOOL bCapEnds, double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmRuled( int nParentId, int nPntOrCrvId1, int nCrvId2, int nType, double dLinTol) ; EIN_EXPORT int __stdcall EgtCreateSurfTmByTriangles( int nParentId, int nNumId, const int nIds[], BOOL bErase) ; EIN_EXPORT int __stdcall EgtCreateSurfTmBySewing( int nParentId, int nNumId, const int nIds[], BOOL bErase) ; // GeomDB PartLayer EIN_EXPORT BOOL __stdcall EgtIsPart( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtIsLayer( int nLayerId) ; EIN_EXPORT int __stdcall EgtGetCurrPart( void) ; EIN_EXPORT int __stdcall EgtGetCurrLayer( void) ; EIN_EXPORT BOOL __stdcall EgtSetCurrPartLayer( int nPartId, int nLayerId) ; EIN_EXPORT BOOL __stdcall EgtResetCurrPartLayer( void) ; EIN_EXPORT int __stdcall EgtGetPartCount( BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetFirstPart( BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetNextPart( int nId, BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetLastPart( BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetPrevPart( int nId, BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetFirstLayer( int nPartId, BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetNextLayer( int nId, BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetLastLayer( int nPartId, BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetPrevLayer( int nId, BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetFirstGhostPart( void) ; EIN_EXPORT int __stdcall EgtGetNextGhostPart( int nId) ; EIN_EXPORT BOOL __stdcall EgtEraseEmptyParts( void) ; EIN_EXPORT BOOL __stdcall EgtSelectPartObjs( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtDeselectPartObjs( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtSelectLayerObjs( int nLayerId) ; EIN_EXPORT BOOL __stdcall EgtDeselectLayerObjs( int nLayerId) ; EIN_EXPORT BOOL __stdcall EgtSelectPathObjs( int nId, BOOL bHaltOnFork) ; EIN_EXPORT int __stdcall EgtDuploNew( int nSouId) ; EIN_EXPORT BOOL __stdcall EgtDuploCount( int nSouId, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtDuploList( int nSouId, int*& vInd, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtDuploInRawCount( int nSouId, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtDuploWithoutRawList( int*& vInd, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtDuploSetModified( int nSouId) ; EIN_EXPORT BOOL __stdcall EgtDuploGetModified( int nSouId, BOOL* pbModif) ; EIN_EXPORT BOOL __stdcall EgtDuploSetLocked( int nDupId) ; EIN_EXPORT BOOL __stdcall EgtDuploResetLocked( int nDupId) ; EIN_EXPORT BOOL __stdcall EgtDuploGetLocked( int nDupId, BOOL* pbModif) ; EIN_EXPORT BOOL __stdcall EgtDuploUpdate( int nSouId) ; EIN_EXPORT BOOL __stdcall EgtIsDuplo( int nDupId) ; EIN_EXPORT int __stdcall EgtDuploGetOriginal( int nDupId) ; // GeomDB Objects EIN_EXPORT BOOL __stdcall EgtExistsObj( int nId) ; EIN_EXPORT int __stdcall EgtGetParent( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetGlobFrame( int nId, double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtGetGroupGlobFrame( int nGroupId, double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3]) ; EIN_EXPORT int __stdcall EgtGetGroupObjs( int nGroupId) ; EIN_EXPORT int __stdcall EgtGetFirstInGroup( int nGroupId) ; EIN_EXPORT int __stdcall EgtGetNext( int nId) ; EIN_EXPORT int __stdcall EgtGetLastInGroup( int nGroupId) ; EIN_EXPORT int __stdcall EgtGetPrev( int nId) ; EIN_EXPORT int __stdcall EgtGetFirstGroupInGroup( int nGroupId) ; EIN_EXPORT int __stdcall EgtGetNextGroup( int nId) ; EIN_EXPORT int __stdcall EgtGetLastGroupInGroup( int nGroupId) ; EIN_EXPORT int __stdcall EgtGetPrevGroup( int nId) ; EIN_EXPORT int __stdcall EgtGetFirstNameInGroup( int nGroupId, const wchar_t* wsName) ; EIN_EXPORT int __stdcall EgtGetNextName( int nId, const wchar_t* wsName) ; EIN_EXPORT int __stdcall EgtGetLastNameInGroup( int nGroupId, const wchar_t* wsName) ; EIN_EXPORT int __stdcall EgtGetPrevName( int nId, const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtGetBBox( int nId, int nFlag, double ptMin[3], double ptMax[3]) ; EIN_EXPORT BOOL __stdcall EgtGetBBoxGlob( int nId, int nFlag, double ptMin[3], double ptMax[3]) ; EIN_EXPORT BOOL __stdcall EgtGetBBoxRef( int nId, int nFlag, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3], double ptMin[3], double ptMax[3]) ; EIN_EXPORT int __stdcall EgtCopy( int nSouId, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT int __stdcall EgtCopyEx( int nSouCtx, int nSouId, int nDestCtx, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT int __stdcall EgtCopyGlob( int nSouId, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT int __stdcall EgtCopyGlobEx( int nSouCtx, int nSouId, int nDestCtx, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT BOOL __stdcall EgtRelocate( int nSouId, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT BOOL __stdcall EgtRelocateGlob( int nSouId, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT BOOL __stdcall EgtGroupSwap( int nId1, int nId2, BOOL bSwapRef, BOOL bMark) ; EIN_EXPORT BOOL __stdcall EgtChangeId( int nId, int nNewId) ; EIN_EXPORT BOOL __stdcall EgtErase( int nId) ; EIN_EXPORT BOOL __stdcall EgtEmptyGroup( int nId) ; EIN_EXPORT int __stdcall EgtGetType( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetTitle( int nId, wchar_t*& wsTitle) ; EIN_EXPORT BOOL __stdcall EgtGroupDump( int nId, wchar_t*& wsDump) ; EIN_EXPORT BOOL __stdcall EgtGeoObjDump( int nId, wchar_t*& wsDump) ; // GeomDB Obj Attributes EIN_EXPORT BOOL __stdcall EgtSetLevel( int nId, int nLevel) ; EIN_EXPORT BOOL __stdcall EgtRevertLevel( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetLevel( int nId, int* pnLevel) ; EIN_EXPORT BOOL __stdcall EgtGetCalcLevel( int nId, int* pnLevel) ; EIN_EXPORT BOOL __stdcall EgtSetMode( int nId, int nMode) ; EIN_EXPORT BOOL __stdcall EgtRevertMode( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetMode( int nId, int* pnMode) ; EIN_EXPORT BOOL __stdcall EgtGetCalcMode( int nId, int* pnMode) ; EIN_EXPORT BOOL __stdcall EgtSetStatus( int nId, int nStat) ; EIN_EXPORT BOOL __stdcall EgtRevertStatus( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetStatus( int nId, int* pnStat) ; EIN_EXPORT BOOL __stdcall EgtGetCalcStatus( int nId, int* pnStat) ; EIN_EXPORT BOOL __stdcall EgtSetMark( int nId, int nMark) ; EIN_EXPORT BOOL __stdcall EgtResetMark( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetMark( int nId, BOOL* pnMark) ; EIN_EXPORT BOOL __stdcall EgtGetCalcMark( int nId, BOOL* pnMark) ; EIN_EXPORT BOOL __stdcall EgtStdColor( const wchar_t* wsName, int ObjCol[4]) ; EIN_EXPORT BOOL __stdcall EgtSetColor( int nId, const int ObjCol[4], BOOL bSetAlpha) ; EIN_EXPORT BOOL __stdcall EgtSetAlpha( int nId, int nAlpha) ; EIN_EXPORT BOOL __stdcall EgtResetColor( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetColor( int nId, int ObjCol[4]) ; EIN_EXPORT BOOL __stdcall EgtGetCalcColor( int nId, int ObjCol[4]) ; EIN_EXPORT BOOL __stdcall EgtSetName( int nId, const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtGetName( int nId, wchar_t*& wsName) ; EIN_EXPORT BOOL __stdcall EgtExistsName( int nId) ; EIN_EXPORT BOOL __stdcall EgtRemoveName( int nId) ; EIN_EXPORT BOOL __stdcall EgtSetInfo( int nId, const wchar_t* wsKey, const wchar_t* wsInfo) ; EIN_EXPORT BOOL __stdcall EgtSetInfoBool( int nId, const wchar_t* wsKey, BOOL bInfo) ; EIN_EXPORT BOOL __stdcall EgtSetInfoInt( int nId, const wchar_t* wsKey, int nInfo) ; EIN_EXPORT BOOL __stdcall EgtSetInfoDouble( int nId, const wchar_t* wsKey, double dInfo) ; EIN_EXPORT BOOL __stdcall EgtSetInfoVector( int nId, const wchar_t* wsKey, const double vtV[3]) ; EIN_EXPORT BOOL __stdcall EgtSetInfoPoint( int nId, const wchar_t* wsKey, const double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtSetInfoBBox( int nId, const wchar_t* wsKey, const double ptMin[3], const double ptMax[3]) ; EIN_EXPORT BOOL __stdcall EgtSetInfoFrame( int nId, const wchar_t* wsKey, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtGetInfo( int nId, const wchar_t* wsKey, wchar_t*& wsInfo) ; EIN_EXPORT BOOL __stdcall EgtGetInfoBool( int nId, const wchar_t* wsKey, BOOL* pbInfo) ; EIN_EXPORT BOOL __stdcall EgtGetInfoInt( int nId, const wchar_t* wsKey, int* pnInfo) ; EIN_EXPORT BOOL __stdcall EgtGetInfoDouble( int nId, const wchar_t* wsKey, double* pdInfo) ; EIN_EXPORT BOOL __stdcall EgtGetInfoVector( int nId, const wchar_t* wsKey, double vtV[3]) ; EIN_EXPORT BOOL __stdcall EgtGetInfoPoint( int nId, const wchar_t* wsKey, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtGetInfoBBox( int nId, const wchar_t* wsKey, double ptMin[3], double ptMax[3]) ; EIN_EXPORT BOOL __stdcall EgtGetInfoFrame( int nId, const wchar_t* wsKey, double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtGetAllInfo( int nId, wchar_t*& wsInfos) ; EIN_EXPORT BOOL __stdcall EgtExistsInfo( int nId, const wchar_t* wsKey) ; EIN_EXPORT BOOL __stdcall EgtRemoveInfo( int nId, const wchar_t* wsKey) ; EIN_EXPORT BOOL __stdcall EgtSetTextureName( int nId, const wchar_t* wsTxrName) ; EIN_EXPORT BOOL __stdcall EgtSetTextureFrame( int nId, const double vOrig[3], const double vX[3], const double vY[3], const double vZ[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtRemoveTextureData( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetTextureName( int nId, wchar_t*& wsTxrName) ; EIN_EXPORT BOOL __stdcall EgtGetTextureFrame( int nId, int nRefId, double vOrig[3], double vX[3], double vY[3], double vZ[3]) ; // GeomDb Obj Selection EIN_EXPORT BOOL __stdcall EgtSetObjFilterForSelect( BOOL bZerodim, BOOL bCurve, BOOL bSurf, BOOL bVolume, BOOL bExtra) ; EIN_EXPORT BOOL __stdcall EgtSelectObj( int nId) ; EIN_EXPORT BOOL __stdcall EgtDeselectObj( int nId) ; EIN_EXPORT BOOL __stdcall EgtSelectAll( BOOL bOnlyIfVisible) ; EIN_EXPORT BOOL __stdcall EgtDeselectAll( void) ; EIN_EXPORT BOOL __stdcall EgtSelectGroupObjs( int nGroupId) ; EIN_EXPORT BOOL __stdcall EgtDeselectGroupObjs( int nGroupId) ; EIN_EXPORT BOOL __stdcall EgtIsSelectedObj( int nId) ; EIN_EXPORT int __stdcall EgtGetSelectedObjCount( void) ; EIN_EXPORT int __stdcall EgtGetFirstSelectedObj( void) ; EIN_EXPORT int __stdcall EgtGetNextSelectedObj( void) ; EIN_EXPORT int __stdcall EgtGetLastSelectedObj( void) ; EIN_EXPORT int __stdcall EgtGetPrevSelectedObj( void) ; EIN_EXPORT BOOL __stdcall EgtSetSelInfo( int nId, int nSub, const double ptSel[3]) ; EIN_EXPORT BOOL __stdcall EgtGetLastSelInfo( int* pnLastId, int* pnLastSub, double ptLastSel[3]) ; EIN_EXPORT BOOL __stdcall EgtGetPrevSelInfo( int* pnPrevId, int* pnPrevSub, double ptPrevSel[3]) ; // GeomDB Modify EIN_EXPORT BOOL __stdcall EgtChangeGroupFrame( int nId, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtChangeVectorBase( int nId, const double ptB[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtInvertVector( int nNumId, const int nIds[]) ; EIN_EXPORT BOOL __stdcall EgtModifyText( int nId, const wchar_t* wsNewText) ; EIN_EXPORT BOOL __stdcall EgtChangeTextFont( int nId, const wchar_t* wsNewFont) ; EIN_EXPORT BOOL __stdcall EgtChangeTextHeight( int nId, double dH) ; EIN_EXPORT BOOL __stdcall EgtChangeTextItalic( int nId, BOOL bItl) ; EIN_EXPORT BOOL __stdcall EgtFlipText( int nId) ; EIN_EXPORT BOOL __stdcall EgtMirrorText( int nId, BOOL bOnL) ; EIN_EXPORT int __stdcall EgtExplodeText( int nId, int* pnCount) ; EIN_EXPORT int __stdcall EgtSplitText( int nId, int* pnCount) ; // GeomDb Curve Modify EIN_EXPORT BOOL __stdcall EgtInvertCurve( int nNumId, const int nIds[]) ; EIN_EXPORT BOOL __stdcall EgtOffsetCurve( int nId, double dDist, int nType) ; EIN_EXPORT int __stdcall EgtOffsetCurveAdv( int nId, double dDist, int nType, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtApproxCurve( int nId, int nApprType, double dLinTol) ; EIN_EXPORT BOOL __stdcall EgtProjectCurveOnPlane( int nId, const double ptP[3], const double vtN[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtChangeClosedCurveStartPoint( int nId, const double ptP[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveStartPoint( int nId, const double ptP[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveEndPoint( int nId, const double ptP[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveExtrusion( int nId, const double vtExtr[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveThickness( int nId, double dThick) ; EIN_EXPORT BOOL __stdcall EgtTrimCurveStartAtLen( int nId, double dLen) ; EIN_EXPORT BOOL __stdcall EgtTrimCurveEndAtLen( int nId, double dLen) ; EIN_EXPORT BOOL __stdcall EgtTrimCurveStartAtParam( int nId, double dPar) ; EIN_EXPORT BOOL __stdcall EgtTrimCurveEndAtParam( int nId, double dPar) ; EIN_EXPORT BOOL __stdcall EgtTrimCurveStartEndAtParam( int nId, double dParS, double dParE) ; EIN_EXPORT BOOL __stdcall EgtExtendCurveStartByLen( int nId, double dLen) ; EIN_EXPORT BOOL __stdcall EgtExtendCurveEndByLen( int nId, double dLen) ; EIN_EXPORT BOOL __stdcall EgtTrimExtendCurveByLen( int nId, double dLen, const double ptNear[3], int nRefType) ; EIN_EXPORT int __stdcall EgtTrimCurveWithRegion( int nCrvId, int nRegId, BOOL bInVsOut, BOOL bOn, int* pnCount) ; EIN_EXPORT int __stdcall EgtSplitCurve( int nId, int nParts) ; EIN_EXPORT int __stdcall EgtSplitCurveAtPoint( int nId, const double ptOn[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyCircleCP( int nId, const double ptOn[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyCircle3P( int nId, const double ptP1[3], const double ptP2[3], const double ptP3[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyArcRadius( int nId, double dRad, BOOL bKeepCenter) ; EIN_EXPORT BOOL __stdcall EgtModifyArcC2P( int nId, const double ptEnd[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyArc3P( int nId, const double ptMid[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyArcByFlip( int nId) ; EIN_EXPORT BOOL __stdcall EgtModifyArcToExplementary( int nId) ; EIN_EXPORT BOOL __stdcall EgtCloseCurveCompo( int nId) ; EIN_EXPORT BOOL __stdcall EgtAddCurveCompoCurve( int nId, int nAddCrvId, BOOL bEraseOrig, BOOL bStartVsEnd) ; EIN_EXPORT BOOL __stdcall EgtAddCurveCompoLine( int nId, const double ptP[3], BOOL bStartVsEnd, int nRefType) ; EIN_EXPORT BOOL __stdcall EgtAddCurveCompoArcTg( int nId, const double ptP[3], BOOL bStartVsEnd, int nRefType) ; EIN_EXPORT BOOL __stdcall EgtAddCurveCompoArc2P( int nId, const double ptMid[3], const double ptP[3], BOOL bStartVsEnd, int nRefType) ; EIN_EXPORT BOOL __stdcall EgtRemoveCurveCompoCurve( int nId, BOOL bLast) ; EIN_EXPORT BOOL __stdcall EgtAddCurveCompoJoint( int nId, double dU) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveCompoJoint( int nId, int nU, const double ptP[3], int nRefType) ; EIN_EXPORT int __stdcall EgtGetCurveCompoJointCount( int nId) ; EIN_EXPORT BOOL __stdcall EgtRemoveCurveCompoJoint( int nId, int nU) ; EIN_EXPORT BOOL __stdcall EgtMoveCurveCompoCurve( int nId, int nCrv, const double vtMove[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveCompoCurveToArc( int nId, int nCrv, const double ptP[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveCompoCurveToLine( int nId, int nCrv) ; EIN_EXPORT int __stdcall EgtExplodeCurveCompo( int nId, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtMergeCurvesInCurveCompo( int nId, double dLinTol, BOOL bStartEnd) ; // GeomDb Surf Modify EIN_EXPORT BOOL __stdcall EgtInvertSurface( int nId) ; EIN_EXPORT int __stdcall EgtExplodeSurface( int nId, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtApproxSurface( int nId, double dLinTol) ; EIN_EXPORT BOOL __stdcall EgtSurfFrAdd( int nId1, int nId2) ; EIN_EXPORT BOOL __stdcall EgtSurfFrSubtract( int nId1, int nId2) ; EIN_EXPORT BOOL __stdcall EgtSurfFrIntersect( int nId1, int nId2) ; EIN_EXPORT BOOL __stdcall EgtSurfFrOffset( int nId, double dDist, int nType) ; EIN_EXPORT BOOL __stdcall EgtSurfTmMoveVertex( int nId, int nVert, const double ptNewVert[3], int nRefType, BOOL bUpdate) ; EIN_EXPORT BOOL __stdcall EgtSurfTmMoveFacet( int nId, int nFacet, const double vtMove[3], int nRefType, BOOL bUpdate) ; EIN_EXPORT int __stdcall EgtSurfTmToTriangles( int nId, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtSurfTmRemoveFacet( int nId, int nFacet) ; EIN_EXPORT BOOL __stdcall EgtCutSurfTmPlane( int nId, const double ptOn[3], const double vtN[3], BOOL bSaveOnEq, int nRefType) ; EIN_EXPORT BOOL __stdcall EgtCutSurfTmClosedCurve( int nSurfId, int nCurveId, BOOL bSaveOnEq) ; EIN_EXPORT BOOL __stdcall EgtSurfTmAdd( int nId1, int nId2, BOOL bTwoColors) ; EIN_EXPORT BOOL __stdcall EgtSurfTmSubtract( int nId1, int nId2, BOOL bTwoColors) ; EIN_EXPORT BOOL __stdcall EgtSurfTmIntersect( int nId1, int nId2, BOOL bTwoColors) ; EIN_EXPORT BOOL __stdcall EgtSurfTmSetFaceColor( int nId, int nFacet, int nColor) ; EIN_EXPORT BOOL __stdcall EgtSurfTmResetTwoColors( int nId) ; EIN_EXPORT int __stdcall EgtSurfTmSplit( int nId, int nSplitterId, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtSurfTmCut( int nId, int nCutterId, BOOL bInVsOut, BOOL bSaveOnEq) ; // GeomDb Volume Modify EIN_EXPORT int __stdcall EgtExplodeVolume( int nId, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtRemoveVolZmapPart( int nId, int nPart) ; EIN_EXPORT BOOL __stdcall EgtVolZmapChangeResolution( int nId, int nNewRes) ; // GeomDb Get EIN_EXPORT BOOL __stdcall EgtTextNormVersor( int nId, int nRefId, double vtNorm[3]) ; EIN_EXPORT BOOL __stdcall EgtTextGetContent( int nId, wchar_t*& wsText) ; EIN_EXPORT BOOL __stdcall EgtTextGetFont( int nId, wchar_t*& wsFont) ; EIN_EXPORT BOOL __stdcall EgtTextGetHeight( int nId, double* pdH) ; EIN_EXPORT BOOL __stdcall EgtTextGetItalic( int nId, BOOL* pbItl) ; // GeomDb Curve Get EIN_EXPORT BOOL __stdcall EgtCurveDomain( int nId, double* pdStart, double* pdEnd) ; EIN_EXPORT BOOL __stdcall EgtCurveLength( int nId, double* pdLen) ; EIN_EXPORT BOOL __stdcall EgtCurveParamAtLength( int nId, double dLen, double* pdU) ; EIN_EXPORT BOOL __stdcall EgtCurveLengthAtPoint( int nId, const double ptOn[3], double dExtend, double* pdLen) ; EIN_EXPORT BOOL __stdcall EgtCurveIsClosed( int nId) ; EIN_EXPORT BOOL __stdcall EgtCurveIsFlat( int nId, BOOL bUseExtrusion, double dToler, double vtN[3], double* pdDist) ; EIN_EXPORT BOOL __stdcall EgtCurveIsACircle( int nId, double dToler, double ptC[3], double vtN[3], double* pdRad, BOOL* pbCCW) ; EIN_EXPORT BOOL __stdcall EgtCurveIsARectangle( int nId, double dToler, double ptP[3], double vtL1[3], double vtL2[3]) ; EIN_EXPORT BOOL __stdcall EgtCurveIsATrapezoid( int nId, double dToler, double ptP[3], double vtB1[3], double vtL1[3], double vtB2[3]) ; EIN_EXPORT BOOL __stdcall EgtCurveAreaXY( int nId, double* pdArea) ; EIN_EXPORT BOOL __stdcall EgtCurveArea( int nId, double vtN[3], double* pdDist, double* pdArea) ; EIN_EXPORT BOOL __stdcall EgtCurveNearestExtremityToPoint( int nId, const double ptP[3], BOOL* pbStart) ; EIN_EXPORT BOOL __stdcall EgtCurveExtrusion( int nId, int nRefId, double vtExtr[3]) ; EIN_EXPORT BOOL __stdcall EgtCurveThickness( int nId, double* pdThick) ; EIN_EXPORT BOOL __stdcall EgtCurveSelfIntersCount( int nId, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtCurveMinAreaRectangleXY( int nId, int nRefId, double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3], double* pdDimX, double* pdDimY) ; EIN_EXPORT int __stdcall EgtClosedCurveClassify( int nId1, int nId2) ; EIN_EXPORT int __stdcall EgtCurveWithRegionClassify( int nCurveId, int nRegionId) ; EIN_EXPORT BOOL __stdcall EgtArcRadius( int nId, double* pdRad) ; EIN_EXPORT BOOL __stdcall EgtArcAngCenter( int nId, double* pdAngDeg) ; EIN_EXPORT BOOL __stdcall EgtArcDeltaN( int nId, double* pdDeltaN) ; EIN_EXPORT BOOL __stdcall EgtArcNormVersor( int nId, int nRefId, double vtNorm[3]) ; EIN_EXPORT BOOL __stdcall EgtCurveCompoCenter( int nId, int nSimpCrv, int nRefId, double ptCen[3]) ; EIN_EXPORT BOOL __stdcall EgtCopyCompoSubCurve( int nId, int nSubCrvToCopy, int nParentId) ; EIN_EXPORT BOOL __stdcall EgtCopyParamRange( int nId, double dUStart, double dUEnd, int nParentId) ; // GeomDb Surf Get EIN_EXPORT BOOL __stdcall EgtSurfArea( int nId, double* pdArea) ; EIN_EXPORT BOOL __stdcall EgtSurfIsClosed( int nId) ; EIN_EXPORT BOOL __stdcall EgtSurfVolume( int nId, double* pdVol) ; EIN_EXPORT BOOL __stdcall EgtSurfFrNormVersor( int nId, int nRefId, double vtNorm[3]) ; EIN_EXPORT BOOL __stdcall EgtSurfFrGrossArea( int nId, double* pdArea) ; EIN_EXPORT int __stdcall EgtSurfFrChunkCount( int nId) ; EIN_EXPORT int __stdcall EgtSurfFrChunkSimpleClassify( int nId1, int nChunk1, int nId2, int nChunk2, double dToler) ; EIN_EXPORT BOOL __stdcall EgtSurfFrChunkCenter( int nId, int nChunk, int nRefId, double ptCen[3], double vtNorm[3]) ; EIN_EXPORT int __stdcall EgtExtractSurfFrChunkLoops( int nId, int nChunk, int nDestGrpId, int* pnCount) ; EIN_EXPORT int __stdcall EgtSurfTmPartCount( int nId) ; EIN_EXPORT int __stdcall EgtSurfTmFacetCount( int nId) ; EIN_EXPORT int __stdcall EgtSurfTmFacetFromTria( int nId, int nT) ; EIN_EXPORT BOOL __stdcall EgtSurfTmGetVertex( int nId, int nVert, int nRefId, double ptVert[3]) ; EIN_EXPORT BOOL __stdcall EgtSurfTmGetNearestVertex( int nId, const double ptNear[3], int nRefId, int* pnVert, double ptVert[3]) ; EIN_EXPORT BOOL __stdcall EgtSurfTmFacetNearestEndPoint( int nId, int nFacet, const double ptNear[3], int nRefId, double ptEnd[3], double vtNorm[3]) ; EIN_EXPORT BOOL __stdcall EgtSurfTmFacetNearestMidPoint( int nId, int nFacet, const double ptNear[3], int nRefId, double ptMid[3], double vtNorm[3]) ; EIN_EXPORT BOOL __stdcall EgtSurfTmFacetCenter( int nId, int nFacet, int nRefId, double ptCen[3], double vtNorm[3]) ; EIN_EXPORT BOOL __stdcall EgtSurfTmFacetNormVersor( int nId, int nFacet, int nRefId, double vtNorm[3]) ; EIN_EXPORT BOOL __stdcall EgtSurfTmFacetOppositeSide( int nId, int nFacet, const double vtDir[3], int nRefId, double ptP1[3], double ptP2[3]) ; EIN_EXPORT BOOL __stdcall EgtSurfTmFacetAdjacencies( int nId, int nFacet, int*& vAdj, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtSurfTmFacetsContact( int nId, int nF1, int nF2, int nRefId, BOOL* pbAdjac, double ptP1[3], double ptP2[3], double* pdAng) ; EIN_EXPORT int __stdcall EgtGetSurfTmSilhouette( int nId, const double vtDir[3], double dToler, int nDestGrpId, int nRefType, int* pnCount) ; EIN_EXPORT int __stdcall EgtExtractSurfTmLoops( int nId, int nDestGrpId, int* pnCount) ; EIN_EXPORT int __stdcall EgtExtractSurfTmFacetLoops( int nId, int nFacet, int nDestGrpId, int* pnCount) ; EIN_EXPORT int __stdcall EgtCopySurfTmFacet( int nId, int nFacet, int nDestGrpId) ; EIN_EXPORT int __stdcall EgtExtractSurfTmTriaLoop( int nId, int nT, int nDestGrpId) ; EIN_EXPORT BOOL __stdcall EgtSurfBezierParamsFromPoint( int nSurfId, const double ptOnSurf[3], int nRefId, double* pdU, double* pdV) ; EIN_EXPORT BOOL __stdcall EgtSurfBezierGetPointNrmD1( int nSurfId, double dU, double dV, int nUsd, int nVsd, int nRefId, double ptP[3], double vtNorm[3], double vtDerU[3], double vtDerV[3]) ; EIN_EXPORT int __stdcall EgtExtractSurfBezierLoops( int nId, int nDestGrpId, int* pnCount) ; // Geo Snap Vector/Point/Frame EIN_EXPORT BOOL __stdcall EgtStartPoint( int nId, int nRefId, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtEndPoint( int nId, int nRefId, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtMidPoint( int nId, int nRefId, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtCenterPoint( int nId, int nRefId, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtCentroid( int nId, int nRefId, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtAtParamPoint( int nId, double dU, int nRefId, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtNearPoint( int nId, const double ptNear[3], int nRefId, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtIntersectionPoint( int nId1, int nId2, const double ptNear[3], int nRefId, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtStartVector( int nId, int nRefId, double vtV[3]) ; EIN_EXPORT BOOL __stdcall EgtEndVector( int nId, int nRefId, double vtV[3]) ; EIN_EXPORT BOOL __stdcall EgtMidVector( int nId, int nRefId, double vtV[3]) ; EIN_EXPORT BOOL __stdcall EgtAtParamVector( int nId, double dU, int nSide, int nRefId, double vtV[3]) ; EIN_EXPORT BOOL __stdcall EgtFrame( int nId, int nRefId, double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtPointToIdGlob( double ptP[3], int nId) ; EIN_EXPORT BOOL __stdcall EgtPointToIdLoc( double ptP[3], int nId) ; EIN_EXPORT BOOL __stdcall EgtVectorToIdGlob( double vtV[3], int nId) ; EIN_EXPORT BOOL __stdcall EgtVectorToIdLoc( double vtV[3], int nId) ; // Geo Transform EIN_EXPORT BOOL __stdcall EgtTransform( int nId, const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtMove( int nId, double vVtMove[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtRotate( int nId, double vPtAx[3], double vVtAx[3], double dAngRotDeg, int nRefType) ; EIN_EXPORT BOOL __stdcall EgtScale( int nId, const double vOrig[3], const double vX[3], const double vY[3], const double vZ[3], double dCoeffX, double dCoeffY, double dCoeffZ, int nRefType) ; EIN_EXPORT BOOL __stdcall EgtMirror( int nId, const double vPnt[3], const double vN[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtShear( int nId, const double vPnt[3], const double vN[3], const double vDir[3], double dCoeff, int nRefType) ; EIN_EXPORT BOOL __stdcall EgtMoveGroup( int nId, double vVtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtRotateGroup( int nId, double vPtAx[3], double vVtAx[3], double dAngRotDeg) ; EIN_EXPORT BOOL __stdcall EgtScaleGroup( int nId, const double vOrig[3], const double vX[3], const double vY[3], const double vZ[3], double dCoeffX, double dCoeffY, double dCoeffZ) ; EIN_EXPORT BOOL __stdcall EgtMirrorGroup( int nId, const double vPnt[3], const double vN[3]) ; EIN_EXPORT BOOL __stdcall EgtShearGroup( int nId, const double vPnt[3], const double vN[3], const double vDir[3], double dCoeff) ; // Geo Dist EIN_EXPORT BOOL __stdcall EgtPointCurveDist( const double ptP[3], int nId, int nRefType, double* pdDist, double* pdU) ; EIN_EXPORT BOOL __stdcall EgtPointCurveDistSide( const double ptP[3], int nId, const double vtN[3], int nRefType, double* pdDist, double ptMin[3], int* pnSide) ; EIN_EXPORT BOOL __stdcall EgtPointSurfTmDist( const double ptP[3], int nId, int nRefType, double* pdDist, double ptMin[3], int* pnTria) ; // Geo Inters EIN_EXPORT BOOL __stdcall EgtLineSurfTmInters( const double ptP[3], const double vtDir[3], int nId, int nRefType, int*& vFlagInters, double*& vParInters, int* pnCount) ; EIN_EXPORT int __stdcall EgtPlaneSurfTmInters( const double ptOn[3], const double vtN[3], int nId, int nDestGrpId, int nRefType, double dToler, int* pnPntCount, int* pnCrvCount, int* pnSrfCount) ; EIN_EXPORT int __stdcall EgtSurfTmSurfTmInters( int nId1, int nId2, int nDestGrpId, double dToler, int* pnPntCount, int* pnCrvCount, int* pnSrfCount) ; // Maximum Filler EIN_EXPORT BOOL __stdcall EgtMaxFillerStart( void) ; EIN_EXPORT BOOL __stdcall EgtMaxFillerAddPart( int nPartId, double dLen, double dDispLen, int nCount) ; EIN_EXPORT BOOL __stdcall EgtMaxFillerCompute( double dLenToFill, double dStartGap, double dMidGap, double dEndGap, int nSortType) ; EIN_EXPORT BOOL __stdcall EgtMaxFillerGetResults( int* pnFilledParts, int* pnDiffParts, double* pdTotFillRatio) ; EIN_EXPORT BOOL __stdcall EgtMaxFillerGetOneResult( int nInd, int* pnPartId, int* pnCount) ; // Nesting EIN_EXPORT BOOL __stdcall EgtCreateAdjustFlatParts( int nType, double dToler) ; EIN_EXPORT BOOL __stdcall EgtCreateFlatParts( int nType, double dToler) ; EIN_EXPORT BOOL __stdcall EgtAdjustFlatParts( void) ; EIN_EXPORT BOOL __stdcall EgtAdjustFlatPart( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtAdjustFlatPartLayer( int nLayerId) ; EIN_EXPORT BOOL __stdcall EgtCalcFlatPartUpRegion( int nPartId, BOOL bCalc) ; EIN_EXPORT BOOL __stdcall EgtCalcFlatPartDownRegion( int nPartId, double dH) ; EIN_EXPORT BOOL __stdcall EgtPackBox( int nId, double dXmin, double dYmin, double dXmax, double dYmax, double dOffs, BOOL bBottomUp) ; EIN_EXPORT BOOL __stdcall EgtPackBoxCluster( int nId[], int nCount, double dXmin, double dYmin, double dXmax, double dYmax, double dOffs, BOOL bBottomUp) ; EIN_EXPORT BOOL __stdcall EgtMoveBoxCluster( int nId[], int nCount, double vtMove[3], double dXmin, double dYmin, double dXmax, double dYmax, double dOffs) ; EIN_EXPORT BOOL __stdcall EgtGetClusterBBoxGlob( int nId[], int nCount, double ptMin[3], double ptMax[3]) ; EIN_EXPORT BOOL __stdcall EgtCreateOutRegionRectangle( int nParentId, double dXmin, double dYmin, double dXmax, double dYmax, double dZ) ; EIN_EXPORT BOOL __stdcall EgtCreateOutRegion( int nParentId, int nOutCrvId) ; EIN_EXPORT BOOL __stdcall EgtCreateReferenceRegion( int nParentId, int nOutCrvId, BOOL bBottomUp) ; EIN_EXPORT BOOL __stdcall EgtCreateDamagedRegion( int nParentId, int nDmgCrvId) ; EIN_EXPORT BOOL __stdcall EgtVerifyPartCluster( int nId[], int nCount, BOOL bReducedCut) ; EIN_EXPORT BOOL __stdcall EgtPackPartClusterInRectangle( int nId[], int nCount, BOOL bReducedCut, BOOL bBottomUp) ; EIN_EXPORT BOOL __stdcall EgtPackPartCluster( int nId[], int nCount, BOOL bReducedCut, BOOL bBottomUp) ; EIN_EXPORT BOOL __stdcall EgtMovePartCluster( int nId[], int nCount, BOOL bReducedCut, double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtRotatePartCluster( int nId[], int nCount, BOOL bReducedCut, const double ptCen[3], double* pdRotAngDeg) ; EIN_EXPORT BOOL __stdcall EgtTgMovePartClusterOnCollision( int nId[], int nCount, BOOL bReducedCut, double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtAlignPartClusterOnCollision( int nId[], int nCount, BOOL bReducedCut, BOOL* pbMoved) ; EIN_EXPORT BOOL __stdcall EgtMoveToSnapPointOnCollision( int nId[], int nCount, BOOL bReducedCut, double dMaxMove, BOOL* pbMoved) ; EIN_EXPORT void __stdcall EgtSaveCollInfo( void) ; EIN_EXPORT void __stdcall EgtRestoreCollInfo( void) ; EIN_EXPORT BOOL __stdcall EgtGetPartClusterCenterGlob( int nId[], int nCount, double ptCen[3]) ; EIN_EXPORT BOOL __stdcall EgtAutomaticPackParts( int nId[], int nCount, BOOL bMinimizeOnXvsY, BOOL bReducedCut, BOOL bGuillotineMode, int nMaxTime) ; EIN_EXPORT BOOL __stdcall EgtVerifyMachining( int nMchId, int* pnResult) ; EIN_EXPORT int __stdcall EgtVerifyCutAsSplitting( int nMchId) ; // Machining EIN_EXPORT BOOL __stdcall EgtInitMachMgr( const wchar_t* wsMachinesDir, const wchar_t* wsToolMakersDir) ; // Errors & Warnings EIN_EXPORT int __stdcall EgtGetLastMachMgrErrorId( void) ; EIN_EXPORT wchar_t* __stdcall EgtGetLastMachMgrErrorString( void) ; EIN_EXPORT int __stdcall EgtGetMachMgrWarningId( int nInd) ; EIN_EXPORT wchar_t* __stdcall EgtGetMachMgrWarningString( int nInd) ; // Machines EIN_EXPORT BOOL __stdcall EgtGetMachines( wchar_t*& wsMachineNames, wchar_t*& wsMachineDirs) ; EIN_EXPORT BOOL __stdcall EgtSetCurrMachine( const wchar_t* wsMachineName) ; EIN_EXPORT BOOL __stdcall EgtGetCurrMachineName( wchar_t*& wsMachineName) ; EIN_EXPORT BOOL __stdcall EgtGetCurrMachineDir( wchar_t*& wsMachineDir) ; // Machining Groups EIN_EXPORT int __stdcall EgtGetMachGroupCount( void) ; EIN_EXPORT int __stdcall EgtGetFirstMachGroup( void) ; EIN_EXPORT int __stdcall EgtGetNextMachGroup( int nId) ; EIN_EXPORT int __stdcall EgtGetLastMachGroup( void) ; EIN_EXPORT int __stdcall EgtGetPrevMachGroup( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetMachGroupNewName( const wchar_t* wsName, wchar_t*& wsNewName) ; EIN_EXPORT int __stdcall EgtAddMachGroup( const wchar_t* wsName, const wchar_t* wsMachineName) ; EIN_EXPORT int __stdcall EgtCopyMachGroup( const wchar_t* wsSouName, const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtRemoveMachGroup( int nMGroupId) ; EIN_EXPORT BOOL __stdcall EgtChangeMachGroupName( int nMGroupInd, const wchar_t* wsNewName) ; EIN_EXPORT BOOL __stdcall EgtGetMachGroupName( int nMGroupId, wchar_t*& wsName) ; EIN_EXPORT BOOL __stdcall EgtGetMachGroupMachineName( int nMGroupId, wchar_t*& wsMachineName) ; EIN_EXPORT int __stdcall EgtGetMachGroupId( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtSetCurrMachGroup( int nMGroupId) ; EIN_EXPORT BOOL __stdcall EgtResetCurrMachGroup( void) ; EIN_EXPORT int __stdcall EgtGetCurrMachGroup( void) ; // Phases EIN_EXPORT int __stdcall EgtAddPhase( void) ; EIN_EXPORT BOOL __stdcall EgtSetCurrPhase( int nPhase, BOOL bForced) ; EIN_EXPORT int __stdcall EgtGetCurrPhase( void) ; EIN_EXPORT BOOL __stdcall EgtRemoveLastPhase( void) ; EIN_EXPORT int __stdcall EgtGetPhaseCount( void) ; // RawParts & Parts EIN_EXPORT int __stdcall EgtGetRawPartCount( void) ; EIN_EXPORT int __stdcall EgtGetFirstRawPart( void) ; EIN_EXPORT int __stdcall EgtGetNextRawPart( int nRawId) ; EIN_EXPORT int __stdcall EgtAddRawPart( const double ptOrig[3], double dLength, double dWidth, double dHeight, const int vCol[4]) ; EIN_EXPORT BOOL __stdcall EgtModifyRawPart( int nRawId, const double ptOrig[3], double dLength, double dWidth, double dHeight, const int vCol[4]) ; EIN_EXPORT BOOL __stdcall EgtModifyRawPart2( int nRawId, int nCrvId, double dOverMat, double dHeight, const int vCol[4]) ; EIN_EXPORT BOOL __stdcall EgtModifyRawPartSize( int nRawId, double dLength, double dWidth, double dHeight) ; EIN_EXPORT BOOL __stdcall EgtModifyRawPartHeight( int nRawId, double dHeight) ; EIN_EXPORT BOOL __stdcall EgtKeepRawPart( int nRawId, int nSouPhase) ; EIN_EXPORT BOOL __stdcall EgtVerifyRawPartPhase( int nRawId, int nPhase) ; EIN_EXPORT BOOL __stdcall EgtVerifyRawPartCurrPhase( int nRawId) ; EIN_EXPORT BOOL __stdcall EgtRemoveRawPartFromCurrPhase( int nRawId) ; EIN_EXPORT BOOL __stdcall EgtRemoveRawPart( int nRawId) ; EIN_EXPORT BOOL __stdcall EgtMoveToCornerRawPart( int nRawId, const double ptCorner[3], int nFlag) ; EIN_EXPORT BOOL __stdcall EgtMoveRawPart( int nRawId, const double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtRotateRawPart( int nRawId, const double vtAx[3], double dAngDeg) ; EIN_EXPORT BOOL __stdcall EgtGetRawPartCenter( int nRawId, double ptCen[3]) ; EIN_EXPORT BOOL __stdcall EgtGetRawPartBBox( int nRawId, double ptMin[3], double ptMax[3]) ; EIN_EXPORT int __stdcall EgtSplitFlatRawPartWithMachinings( int nRawId, int nNumMchId, const int nMchIds[]) ; EIN_EXPORT int __stdcall EgtGetPartInRawPartCount( int nRawId) ; EIN_EXPORT int __stdcall EgtGetFirstPartInRawPart( int nRawId) ; EIN_EXPORT int __stdcall EgtGetNextPartInRawPart( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtAddPartToRawPart( int nPartId, const double ptPos[3], int nRawId) ; EIN_EXPORT int __stdcall EgtGetRawPartFromPart( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtRemovePartFromRawPart( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtMovePartInRawPart( int nPartId, const double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtRotatePartInRawPart( int nRawId, const double vtAx[3], double dAngDeg) ; // Table & Fixtures EIN_EXPORT BOOL __stdcall EgtSetTable( const wchar_t* wsTable) ; EIN_EXPORT BOOL __stdcall EgtSetTableAreaOffset( double dOffsXP, double dOffsYP, double dOffsXM, double dOffsYM) ; EIN_EXPORT BOOL __stdcall EgtGetTableName( wchar_t*& wsTableName) ; EIN_EXPORT BOOL __stdcall EgtGetTableRef( int nInd, double ptPos[3]) ; EIN_EXPORT BOOL __stdcall EgtGetTableArea( int nInd, double ptMin[3], double ptMax[3]) ; EIN_EXPORT BOOL __stdcall EgtGetTableAreaOffset( int nInd, double ptMinOffs[3], double ptMaxOffs[3]) ; EIN_EXPORT BOOL __stdcall EgtChangeTable( const wchar_t* wsTable, BOOL bUpdateDisp) ; EIN_EXPORT BOOL __stdcall EgtShowOnlyTable( BOOL bVal) ; EIN_EXPORT BOOL __stdcall EgtMoveDispAxis( const wchar_t* wsName, double dPos) ; EIN_EXPORT BOOL __stdcall EgtRemoveDispAxis( const wchar_t* wsName) ; EIN_EXPORT int __stdcall EgtAddFixture( const wchar_t* wsName, const double ptPos[3], double dAngRotDeg, double dMov) ; EIN_EXPORT BOOL __stdcall EgtKeepAllDispAxes( int nSouPhase) ; EIN_EXPORT BOOL __stdcall EgtKeepFixture( int nFxtId, int nSouPhase) ; EIN_EXPORT BOOL __stdcall EgtRemoveFixture( int nFxtId) ; EIN_EXPORT BOOL __stdcall EgtVerifyFixture( int nFxtId) ; EIN_EXPORT int __stdcall EgtGetFirstFixture( void) ; EIN_EXPORT int __stdcall EgtGetNextFixture( int nFxtId) ; EIN_EXPORT BOOL __stdcall EgtMoveFixture( int nFxtId, const double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtRotateFixture( int nFxtId, double dDeltaAngDeg) ; EIN_EXPORT BOOL __stdcall EgtSetFixtureLink( int nFxtId, const wchar_t* wsTaLink) ; EIN_EXPORT BOOL __stdcall EgtMoveFixtureMobile( int nFxtId, double dDeltaMov) ; EIN_EXPORT BOOL __stdcall EgtSetFixtureMobile( int nFxtId, double dMov) ; // Tools DataBase EIN_EXPORT BOOL __stdcall EgtTdbGetToolNewName( const wchar_t* wsName, wchar_t*& wsNewName) ; EIN_EXPORT BOOL __stdcall EgtTdbAddTool( const wchar_t* wsName, int nType) ; EIN_EXPORT BOOL __stdcall EgtTdbCopyTool( const wchar_t* wsSource, const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtTdbRemoveTool( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtTdbGetFirstTool( int nFamily, wchar_t*& wsName, int* pnType) ; EIN_EXPORT BOOL __stdcall EgtTdbGetNextTool( int nFamily, wchar_t*& wsName, int* pnType) ; EIN_EXPORT BOOL __stdcall EgtTdbGetToolFromUUID( const wchar_t* wsTuuid, wchar_t*& wsName) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrTool( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtTdbSaveCurrTool( void) ; EIN_EXPORT BOOL __stdcall EgtTdbIsCurrToolModified( void) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrToolParamBool( int nType, BOOL bVal) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrToolParamInt( int nType, int nVal) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrToolParamDouble( int nType, double dVal) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrToolParamString( int nType, const wchar_t* wsVal) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrToolValInNotesBool( int nType, const wchar_t* wsKey, BOOL bVal) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrToolValInNotesInt( int nType, const wchar_t* wsKey, int nVal) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrToolValInNotesDouble( int nType, const wchar_t* wsKey, double dVal) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrToolValInNotesString( int nType, const wchar_t* wsKey, const wchar_t* wsVal) ; EIN_EXPORT BOOL __stdcall EgtTdbRemoveCurrToolValInNotes( int nType, const wchar_t* wsKey) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamBool( int nType, BOOL* pbVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamInt( int nType, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamDouble( int nType, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamString( int nType, wchar_t*& wsVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolValInNotesBool( int nType, const wchar_t* wsKey, BOOL* pbVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolValInNotesInt( int nType, const wchar_t* wsKey, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolValInNotesDouble( int nType, const wchar_t* wsKey, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolValInNotesString( int nType, const wchar_t* wsKey, wchar_t*& wsVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolMaxDepth( double* pdVal) ; EIN_EXPORT int __stdcall EgtTdbCurrToolDraw( int nGenCtx, int nToolCtx) ; EIN_EXPORT BOOL __stdcall EgtTdbReload( void) ; EIN_EXPORT BOOL __stdcall EgtTdbSave( void) ; EIN_EXPORT BOOL __stdcall EgtTdbGetToolDir( wchar_t*& wsToolDir) ; EIN_EXPORT BOOL __stdcall EgtTdbGetToolHolderDir( wchar_t*& wsTHolderDir) ; EIN_EXPORT BOOL __stdcall EgtTdbExport( const wchar_t* wsToolsNames, const wchar_t* wsOutFile) ; EIN_EXPORT BOOL __stdcall EgtTdbToBeImported( const wchar_t* wsFile, wchar_t*& wsToolsNames, int*& vTypes, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtTdbImport( const wchar_t* wsFile, const wchar_t* wsToolsToImport, const wchar_t* wsToolsNames, wchar_t*& wsImported) ; // Setup EIN_EXPORT int __stdcall EgtGetCurrSetup( void) ; EIN_EXPORT BOOL __stdcall EgtImportSetup( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtUpdateCurrSetup( void) ; EIN_EXPORT BOOL __stdcall EgtEraseCurrSetup( void) ; // Machinings DataBase EIN_EXPORT BOOL __stdcall EgtMdbGetMachiningNewName( const wchar_t* wsName, wchar_t*& wsNewName) ; EIN_EXPORT BOOL __stdcall EgtMdbAddMachining( const wchar_t* wsName, int nType) ; EIN_EXPORT BOOL __stdcall EgtMdbCopyMachining( const wchar_t* wsSource, const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbRemoveMachining( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbGetFirstMachining( int nType, wchar_t*& wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbGetNextMachining( int nType, wchar_t*& wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbGetMachiningFromUUID( const wchar_t* wsMuuid, wchar_t*& wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbSetCurrMachining( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbSaveCurrMachining( void) ; EIN_EXPORT BOOL __stdcall EgtMdbIsCurrMachiningModified( void) ; EIN_EXPORT BOOL __stdcall EgtMdbSetCurrMachiningParamBool( int nType, BOOL bVal) ; EIN_EXPORT BOOL __stdcall EgtMdbSetCurrMachiningParamInt( int nType, int nVal) ; EIN_EXPORT BOOL __stdcall EgtMdbSetCurrMachiningParamDouble( int nType, double dVal) ; EIN_EXPORT BOOL __stdcall EgtMdbSetCurrMachiningParamString( int nType, const wchar_t* wsVal) ; EIN_EXPORT BOOL __stdcall EgtMdbGetCurrMachiningParamBool( int nType, BOOL* pbVal) ; EIN_EXPORT BOOL __stdcall EgtMdbGetCurrMachiningParamInt( int nType, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtMdbGetCurrMachiningParamDouble( int nType, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtMdbGetCurrMachiningParamString( int nType, wchar_t*& wsVal) ; EIN_EXPORT BOOL __stdcall EgtMdbSetGeneralParamBool( int nType, BOOL bVal) ; EIN_EXPORT BOOL __stdcall EgtMdbSetGeneralParamInt( int nType, int nVal) ; EIN_EXPORT BOOL __stdcall EgtMdbSetGeneralParamDouble( int nType, double dVal) ; EIN_EXPORT BOOL __stdcall EgtMdbGetGeneralParamBool( int nType, BOOL* pbVal) ; EIN_EXPORT BOOL __stdcall EgtMdbGetGeneralParamInt( int nType, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtMdbGetGeneralParamDouble( int nType, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtMdbReload( void) ; EIN_EXPORT BOOL __stdcall EgtMdbSave( void) ; EIN_EXPORT BOOL __stdcall EgtMdbGetMachiningDir( wchar_t*& wsMchDir) ; EIN_EXPORT BOOL __stdcall EgtMdbExport( const wchar_t* wsMachiningsNames, const wchar_t* wsOutFile) ; EIN_EXPORT BOOL __stdcall EgtMdbToBeImported( const wchar_t* wsFile, wchar_t*& wsMachiningsNames, int*& vTypes, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtMdbImport( const wchar_t* wsFile, const wchar_t* wsMachiningsToImport, const wchar_t* wsMachiningsNames, wchar_t*& wsImported) ; // Operations EIN_EXPORT int __stdcall EgtGetFirstOperation( void) ; EIN_EXPORT int __stdcall EgtGetNextOperation( int nId) ; EIN_EXPORT int __stdcall EgtGetLastOperation( void) ; EIN_EXPORT int __stdcall EgtGetPrevOperation( int nId) ; EIN_EXPORT int __stdcall EgtGetFirstActiveOperation( bool bNeedMachNotEmpty) ; EIN_EXPORT int __stdcall EgtGetNextActiveOperation( int nId, bool bNeedMachNotEmpty) ; EIN_EXPORT int __stdcall EgtGetLastActiveOperation( bool bNeedMachNotEmpty) ; EIN_EXPORT int __stdcall EgtGetPrevActiveOperation( int nId, bool bNeedMachNotEmpty) ; EIN_EXPORT int __stdcall EgtGetOperationType( int nId) ; EIN_EXPORT int __stdcall EgtGetOperationPhase( int nId) ; EIN_EXPORT BOOL __stdcall EgtSetOperationName( int nId, const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtGetOperationName( int nId, wchar_t*& wsName) ; EIN_EXPORT int __stdcall EgtGetOperationId( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtIsOperationEmpty( int nId, int nEmptyType) ; EIN_EXPORT BOOL __stdcall EgtRemoveOperation( int nId) ; EIN_EXPORT BOOL __stdcall EgtRemoveAllPhaseOperations( int nPhase) ; EIN_EXPORT BOOL __stdcall EgtRemoveAllOperations( void) ; EIN_EXPORT BOOL __stdcall EgtSetOperationMode( int nId, BOOL bActive) ; EIN_EXPORT BOOL __stdcall EgtGetOperationMode( int nId) ; EIN_EXPORT BOOL __stdcall EgtSetAllOperationsMode( BOOL bActive) ; EIN_EXPORT BOOL __stdcall EgtSetOperationStatus( int nId, BOOL bShow) ; EIN_EXPORT BOOL __stdcall EgtGetOperationStatus( int nId) ; EIN_EXPORT BOOL __stdcall EgtSetAllOperationsStatus( BOOL bShow) ; EIN_EXPORT BOOL __stdcall EgtAdjustOperationPhase( int nId) ; EIN_EXPORT BOOL __stdcall EgtChangeOperationPhase( int nId, int nNewPhase) ; EIN_EXPORT int __stdcall EgtGetPhaseLastOperation( int nPhase) ; EIN_EXPORT BOOL __stdcall EgtRemoveOperationHome( int nId) ; // Dispositions EIN_EXPORT int __stdcall EgtGetPhaseDisposition( int nPhase) ; EIN_EXPORT BOOL __stdcall EgtSpecialApplyDisposition( int nId, BOOL bRecalc) ; EIN_EXPORT BOOL __stdcall EgtSpecialUpdateDisposition( int nId) ; // Machinings EIN_EXPORT int __stdcall EgtAddMachining( const wchar_t* wsName, const wchar_t* wsMachining) ; EIN_EXPORT int __stdcall EgtCreateMachining( const wchar_t* wsName, int nMchType, const wchar_t* wsTool) ; EIN_EXPORT int __stdcall EgtCopyMachining( const wchar_t* wsName, const wchar_t* wsSouName) ; EIN_EXPORT BOOL __stdcall EgtSetCurrMachining( int nId) ; EIN_EXPORT BOOL __stdcall EgtResetCurrMachining( void) ; EIN_EXPORT int __stdcall EgtGetCurrMachining( void) ; EIN_EXPORT BOOL __stdcall EgtSetMachiningParamBool( int nType, BOOL bVal) ; EIN_EXPORT BOOL __stdcall EgtSetMachiningParamInt( int nType, int nVal) ; EIN_EXPORT BOOL __stdcall EgtSetMachiningParamDouble( int nType, double dVal) ; EIN_EXPORT BOOL __stdcall EgtSetMachiningParamString( int nType, const wchar_t* wsVal) ; EIN_EXPORT BOOL __stdcall EgtSetMachiningGeometry( int nNumId, const int nIds[], const int nSubs[]) ; EIN_EXPORT BOOL __stdcall EgtPreviewMachining( BOOL bRecalc) ; EIN_EXPORT BOOL __stdcall EgtApplyMachining( BOOL bRecalc) ; EIN_EXPORT BOOL __stdcall EgtUpdateMachining( void) ; EIN_EXPORT BOOL __stdcall EgtChangePreviewMachiningToolShow( int nLookFlag) ; EIN_EXPORT BOOL __stdcall EgtPreparePreviewMachiningTool( void) ; EIN_EXPORT BOOL __stdcall EgtRemovePreviewMachiningTool( void) ; EIN_EXPORT int __stdcall EgtGetPreviewMachiningToolStepCount( void) ; EIN_EXPORT int __stdcall EgtPreviewMachiningTool( int nEntId, int nStep) ; EIN_EXPORT BOOL __stdcall EgtGetMachiningParamBool( int nType, BOOL* pbVal) ; EIN_EXPORT BOOL __stdcall EgtGetMachiningParamInt( int nType, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtGetMachiningParamDouble( int nType, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtGetMachiningParamString( int nType, wchar_t*& wsVal) ; EIN_EXPORT BOOL __stdcall EgtGetMachiningGeometry( int nInd, int* pnId, int* pnSub) ; EIN_EXPORT BOOL __stdcall EgtIsMachiningEmpty( int nEmptyType) ; EIN_EXPORT BOOL __stdcall EgtGetMachiningStartPoint( double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtGetMachiningEndPoint( double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtApplyAllMachinings( BOOL bRecalc, BOOL bStopOnFirstErr, wchar_t*& wsErrList) ; EIN_EXPORT BOOL __stdcall EgtUpdateAllMachinings( BOOL bStopOnFirstErr, wchar_t*& wsErrList) ; // Simulation EIN_EXPORT BOOL __stdcall EgtSimInit( void) ; EIN_EXPORT BOOL __stdcall EgtSimStart( BOOL bFirst) ; EIN_EXPORT BOOL __stdcall EgtSimMove( int* pnStatus) ; EIN_EXPORT BOOL __stdcall EgtSimHome( void) ; EIN_EXPORT BOOL __stdcall EgtSimSetStep( double dStep) ; EIN_EXPORT BOOL __stdcall EgtSimSetUiStatus( int nUiStatus) ; EIN_EXPORT BOOL __stdcall EgtSimEnableToolTipTrace( BOOL bEnable) ; EIN_EXPORT BOOL __stdcall EgtSimGetAxisInfoPos( int nI, wchar_t*& wsName, wchar_t*& wsToken, BOOL* pbLinear, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtSimGetToolInfo( wchar_t*& wsTool, double* pdSpeed) ; EIN_EXPORT BOOL __stdcall EgtSimGetOperationInfo( wchar_t*& wsName, int* pnType) ; EIN_EXPORT BOOL __stdcall EgtSimGetMoveInfo( int* pnGmove, double* pdFeed) ; EIN_EXPORT BOOL __stdcall EgtSimExit( void) ; // Generation & T&L estimation EIN_EXPORT BOOL __stdcall EgtGenerate( const wchar_t* wsCncFile, const wchar_t* wsInfo) ; EIN_EXPORT BOOL __stdcall EgtEstimate( const wchar_t* wsEstFile, const wchar_t* wsInfo) ; // Machine EIN_EXPORT int __stdcall EgtGetBaseId( const wchar_t* wsBase) ; EIN_EXPORT int __stdcall EgtGetTableId( const wchar_t* wsTable) ; EIN_EXPORT int __stdcall EgtGetAxisId( const wchar_t* wsAxis) ; EIN_EXPORT int __stdcall EgtGetHeadId( const wchar_t* wsHead) ; EIN_EXPORT int __stdcall EgtGetHeadExitCount( const wchar_t* wsHead) ; EIN_EXPORT BOOL __stdcall EgtGetAxisType( const wchar_t* wsAxis, BOOL* pbLinear) ; EIN_EXPORT BOOL __stdcall EgtGetAxisDir( const wchar_t* wsAxis, double vtDir[3]) ; EIN_EXPORT BOOL __stdcall EgtGetAxisInvert( const wchar_t* wsAxis, BOOL* pbInvert) ; EIN_EXPORT BOOL __stdcall EgtGetAxisOffset( const wchar_t* wsAxis, double* pdOffset) ; EIN_EXPORT BOOL __stdcall EgtGetAxisPos( const wchar_t* wsAxis, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtGetAxisMin( const wchar_t* wsAxis, double* pdMin) ; EIN_EXPORT BOOL __stdcall EgtGetAxisMax( const wchar_t* wsAxis, double* pdMax) ; EIN_EXPORT BOOL __stdcall EgtGetAxisHomePos( const wchar_t* wsAxis, double* pdHome) ; EIN_EXPORT BOOL __stdcall EgtGetAllHeadsNames( wchar_t*& wsNames) ; EIN_EXPORT BOOL __stdcall EgtGetAllTablesNames( wchar_t*& wsNames) ; // Machine Calc EIN_EXPORT BOOL __stdcall EgtSetCalcTool( const wchar_t* wsTool, const wchar_t* wsHead, int nExit) ; EIN_EXPORT BOOL __stdcall EgtGetCalcTool( wchar_t*& wsTool, wchar_t*& wsHead, int* pnExit) ; EIN_EXPORT BOOL __stdcall EgtGetAllCurrAxesNames( wchar_t*& wsAxNames) ; EIN_EXPORT BOOL __stdcall EgtGetCalcAngles( const double vtDirT[3], const double vtDirA[3], int* pnStat, double* pdAngA1, double* pdAngB1, double* pdAngA2, double* pdAngB2) ; EIN_EXPORT BOOL __stdcall EgtGetCalcAnglesEx( const double vtDirT[3], const double vtDirA[3], int* pnStat, double*& vAngs1, double*& vAngs2, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtGetCalcPositions( const double ptP[3], int nCount, const double dAngs[], int* pnStat, double* pdX, double* pdY, double* pdZ) ; EIN_EXPORT BOOL __stdcall EgtGetCalcTipFromPositions( double dX, double dY, double dZ, int nCount, const double dAngs[], BOOL bBottom, double ptTip[3]) ; EIN_EXPORT BOOL __stdcall EgtGetCalcToolDirFromAngles( int nCount, const double dAngs[], double vtDir[3]) ; EIN_EXPORT BOOL __stdcall EgtVerifyOutstroke( double dX, double dY, double dZ, double dAngA, double dAngB, int* pnStat) ; EIN_EXPORT BOOL __stdcall EgtGetOutstrokeInfo( wchar_t*& wsInfo) ; // Machine Move EIN_EXPORT BOOL __stdcall EgtSetAxisPos( const wchar_t* wsAxis, double dVal) ; EIN_EXPORT BOOL __stdcall EgtLoadTool( const wchar_t* wsHead, int nExit, const wchar_t* wsTool) ; EIN_EXPORT BOOL __stdcall EgtResetHeadSet( const wchar_t* wsHead) ; EIN_EXPORT BOOL __stdcall EgtSetMachineLook( int nFlag) ; // Scene EIN_EXPORT BOOL __stdcall EgtInitScene( HWND hWnd, int nDriver, BOOL b2Buff, int nColorBits, int nDepthBits) ; EIN_EXPORT BOOL __stdcall EgtGetSceneInfo( wchar_t*& wsInfo) ; EIN_EXPORT BOOL __stdcall EgtSetBackground( const int nTopCol[4], const int nBottomCol[4], BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtSetLineAttribs( int nWidth) ; EIN_EXPORT BOOL __stdcall EgtSetMarkAttribs( const int MarkCol[4], const int Mark2Col[4]) ; EIN_EXPORT BOOL __stdcall EgtSetSelSurfAttribs( const int SelSurfCol[4]) ; EIN_EXPORT BOOL __stdcall EgtSetGeoLineAttribs( const int GlCol[4]) ; EIN_EXPORT BOOL __stdcall EgtSetGeoTriaAttribs( const int GtCol[4]) ; EIN_EXPORT BOOL __stdcall EgtSetWinRectAttribs( BOOL bOutline, const int WrCol[4]) ; EIN_EXPORT BOOL __stdcall EgtSetGlobFrameShow( BOOL bShow) ; EIN_EXPORT BOOL __stdcall EgtSetGridShow( BOOL bShowGrid, BOOL bShowFrame) ; EIN_EXPORT BOOL __stdcall EgtSetGridGeo( double dSnapStep, int nMinLineSstep, int nMajLineSstep, int nExtSstep) ; EIN_EXPORT BOOL __stdcall EgtSetGridGeoAdv( double dSnapStep, int nMinLineSstep, int nMajLineSstep, double dXmin, double dXmax, double dYmin, double dYmax) ; EIN_EXPORT BOOL __stdcall EgtSetGridColor( const int nMinCol[4], const int nMajCol[4]) ; EIN_EXPORT BOOL __stdcall EgtResize( int nW, int nH) ; EIN_EXPORT BOOL __stdcall EgtDraw( void) ; EIN_EXPORT BOOL __stdcall EgtRedraw( void) ; EIN_EXPORT BOOL __stdcall EgtSelect( int nWinX, int nWinY, int nSelW, int nSelH, int* pnSel) ; EIN_EXPORT BOOL __stdcall EgtSetObjFilterForSelWin( BOOL bZerodim, BOOL bCurve, BOOL bSurf, BOOL bVolume, BOOL bExtra) ; EIN_EXPORT BOOL __stdcall EgtUnselectableAdd( int nId) ; EIN_EXPORT BOOL __stdcall EgtUnselectableRemove( int nId) ; EIN_EXPORT BOOL __stdcall EgtUnselectableClearAll( void) ; EIN_EXPORT int __stdcall EgtGetFirstObjInSelWin( void) ; EIN_EXPORT int __stdcall EgtGetNextObjInSelWin( void) ; EIN_EXPORT BOOL __stdcall EgtGetPointFromSelect( int nSelId, int nWinX, int nWinY, double ptSel[3], int* pnAux) ; EIN_EXPORT BOOL __stdcall EgtGetGraphicSnapPoint( int nSnap, int nWinX, int nWinY, int nSelW, int nSelH, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtGetGridSnapPointZ( BOOL bSketch, int nWinX, int nWinY, const double ptGrid[3], double ptP[3]) ; EIN_EXPORT int __stdcall EgtGetLastSnapId( void) ; EIN_EXPORT BOOL __stdcall EgtGetLastSnapDir( double vtV[3]) ; EIN_EXPORT BOOL __stdcall EgtGetPlaneSnapPoint( int nWinX, int nWinY, const double vtN[3], double dDist, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtSetShowMode( int nShowMode, BOOL bRedraw) ; EIN_EXPORT int __stdcall EgtGetShowMode( void) ; EIN_EXPORT BOOL __stdcall EgtSetShowCurveDirection( BOOL bShow, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtGetShowCurveDirection( void) ; EIN_EXPORT BOOL __stdcall EgtSetShowTriaAdv( BOOL bAdvanced, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtGetShowTriaAdv( void) ; EIN_EXPORT BOOL __stdcall EgtSetShowSurfBezierTol( double dLinTol, BOOL bRedraw) ; EIN_EXPORT double __stdcall EgtGetShowSurfBezierTol( void) ; EIN_EXPORT BOOL __stdcall EgtSetShowZmap( int nMode, BOOL bRedraw) ; EIN_EXPORT int __stdcall EgtGetShowZmap( void) ; EIN_EXPORT BOOL __stdcall EgtZoom( int nZoom, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtZoomRadius( double dRadius, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtZoomObject( int nId, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtZoomOnPoint( int nWinX, int nWinY, double dCoeff, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtSetGeoLine( const double ptP1[3], const double ptP2[3], BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtResetGeoLine( BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtSetGeoTria( const double ptP1[3], const double ptP2[3], const double ptP3[3], BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtResetGeoTria( BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtSetWinRect( int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtResetWinRect( BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtZoomWin( int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtSetView( int nView, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtSetGenericView( double dAngVertDeg, double dAngHorizDeg, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtSetViewCenter( const double ptP[3], BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtPanView( int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtRotateView( int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtGetView( int* pnDir) ; EIN_EXPORT BOOL __stdcall EgtGetGenericView( double* pdAngVertDeg, double* pdAngHorizDeg) ; EIN_EXPORT BOOL __stdcall EgtGetViewUp( double vtUp[3]) ; EIN_EXPORT BOOL __stdcall EgtProjectPoint( const double ptP[3], double ptWin[3]) ; EIN_EXPORT BOOL __stdcall EgtUnProjectPoint( int nWinX, int nWinY, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtSetTextureMaxLinPixels( int nMaxLinPix) ; EIN_EXPORT BOOL __stdcall EgtLoadTexture( const wchar_t* wsName, const wchar_t* wsFile, double dMMxPix, double dDimX, double dDimY, int nRepeat) ; EIN_EXPORT BOOL __stdcall EgtUnloadTexture( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtGetTexturePixels( const wchar_t* wsName, int* pnWidth, int* pnHeight) ; EIN_EXPORT BOOL __stdcall EgtGetTextureImagePixels( const wchar_t* wsName, int* pnWidth, int* pnHeight) ; EIN_EXPORT BOOL __stdcall EgtGetTextureDimensions( const wchar_t* wsName, double* pdDimX, double* pdDimY) ; EIN_EXPORT BOOL __stdcall EgtChangeTextureDimensions( const wchar_t* wsName, double dDimX, double dDimY) ; EIN_EXPORT BOOL __stdcall EgtGetImage( int nShowMode, const int TopCol[4], const int BottomCol[4], int nWidth, int nHeight, const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtSetCameraType( BOOL bOrthoOrPersp, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtSetZoomType( int nZoomType, BOOL bRedraw) ; // Image EIN_EXPORT BOOL __stdcall EgtGetImagePixels( const wchar_t* wsFile, int* pnPixelX, int* pnPixelY) ; // Photo EIN_EXPORT int __stdcall EgtAddPhoto( const wchar_t* wsName, const wchar_t* wsFile, const double ptOri[3], const double ptCen[3], double dMMxPixel, int nParentId, const double ptMin[3], const double ptMax[3]) ; EIN_EXPORT int __stdcall EgtAddPhoto2( const wchar_t* wsName, const wchar_t* wsFile, const double ptOri[3], const double ptCen[3], double DimX, double dDimY, int nParentId, const double ptMin[3], const double ptMax[3]) ; EIN_EXPORT BOOL __stdcall EgtMovePhoto( int nId, const double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtRotatePhoto( int nId, const double ptAx[3], const double vtAx[3], double dAngDeg) ; EIN_EXPORT BOOL __stdcall EgtGetPhotoPath( int nId, wchar_t*& wsFile) ; EIN_EXPORT BOOL __stdcall EgtChangePhotoPath( int nId, const wchar_t* wsFile) ; EIN_EXPORT BOOL __stdcall EgtGetPhotoOrigin( int nId, double ptOri[3]) ; EIN_EXPORT BOOL __stdcall EgtGetPhotoCenter( int nId, double ptCen[3]) ; EIN_EXPORT BOOL __stdcall EgtChangePhotoCenterAsFlatScan( int nId) ; EIN_EXPORT BOOL __stdcall EgtGetPhotoDimensions( int nId, double* pdDimX, double* pdDimY) ; EIN_EXPORT BOOL __stdcall EgtGetPhotoPixels( int nId, int* pnPixelX, int* pnPixelY) ; EIN_EXPORT BOOL __stdcall EgtGetPhotoImagePixels( int nId, int* pnPixelX, int* pnPixelY) ; // Picture EIN_EXPORT int __stdcall EgtAddPicture( int nParentId, const wchar_t* wsName, const wchar_t* wsFile, double dDimX, double dDimY, int nRefType) ; // Geo Base EIN_EXPORT BOOL __stdcall EgtVectorNormalize( double* pdX, double* pdY, double* pdZ, double dEps = 0.001) ; EIN_EXPORT BOOL __stdcall EgtVectorRotate( double* pdX, double* pdY, double* pdZ, const double vtAx[3], double dAngRotDeg) ; EIN_EXPORT BOOL __stdcall EgtVectorScale( double* pdX, double* pdY, double* pdZ, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3], double dCoeffX, double dCoeffY, double dCoeffZ) ; EIN_EXPORT BOOL __stdcall EgtVectorMirror( double* pdX, double* pdY, double* pdZ, const double vtNorm[3]) ; EIN_EXPORT BOOL __stdcall EgtVectorShear( double* pdX, double* pdY, double* pdZ, const double vtNorm[3], const double vtDir[3], double dCoeff) ; EIN_EXPORT BOOL __stdcall EgtVectorToGlob( double* pdX, double* pdY, double* pdZ, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtVectorToLoc( double* pdX, double* pdY, double* pdZ, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtVectorLocToLoc( double* pdX, double* pdY, double* pdZ, const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3], const double ptO2[3], const double vtX2[3], const double vtY2[3], const double vtZ2[3]) ; EIN_EXPORT BOOL __stdcall EgtGetVectorRotation( const double vtS[3], const double vtE[3], const double vtAx[3], double* pdAngRotDeg, BOOL* pbDet) ; EIN_EXPORT BOOL __stdcall EgtPointTranslate( double* pdX, double* pdY, double* pdZ, const double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtPointRotate( double* pdX, double* pdY, double* pdZ, const double ptAx[3], const double vtAx[3], double dAngRotDeg) ; EIN_EXPORT BOOL __stdcall EgtPointScale( double* pdX, double* pdY, double* pdZ, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3], double dCoeffX, double dCoeffY, double dCoeffZ) ; EIN_EXPORT BOOL __stdcall EgtPointMirror( double* pdX, double* pdY, double* pdZ, const double ptOn[3], const double vtNorm[3]) ; EIN_EXPORT BOOL __stdcall EgtPointShear( double* pdX, double* pdY, double* pdZ, const double ptOn[3], const double vtNorm[3], const double vtDir[3], double dCoeff) ; EIN_EXPORT BOOL __stdcall EgtPointToGlob( double* pdX, double* pdY, double* pdZ, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtPointToLoc( double* pdX, double* pdY, double* pdZ, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtPointLocToLoc( double* pdX, double* pdY, double* pdZ, const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3], const double ptO2[3], const double vtX2[3], const double vtY2[3], const double vtZ2[3]) ; EIN_EXPORT BOOL __stdcall EgtFrameFrom3Points( double ptO[3], double ptOnX[3], double ptNearY[3], double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtFrameOCS( double ptO[3], double vtDirZ[3], double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3]) ; EIN_EXPORT int __stdcall EgtFrameGetType( const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtFrameTranslate( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3], const double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtFrameRotate( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3], const double ptAx[3], const double vtAx[3], double dAngRotDeg) ; EIN_EXPORT BOOL __stdcall EgtFrameToGlob( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3], const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3]) ; EIN_EXPORT BOOL __stdcall EgtFrameToLoc( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3], const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3]) ; EIN_EXPORT BOOL __stdcall EgtFrameLocToLoc( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3], const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3], const double ptO2[3], const double vtX2[3], const double vtY2[3], const double vtZ2[3]) ; EIN_EXPORT BOOL __stdcall EgtBBoxTranslate( double ptMin[3], double ptMax[3], const double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtBBoxRotate( double ptMin[3], double ptMax[3], const double ptAx[3], const double vtAx[3], double dAngRotDeg) ; EIN_EXPORT BOOL __stdcall EgtBBoxToGlob( double ptMin[3], double ptMax[3], const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3]) ; EIN_EXPORT BOOL __stdcall EgtBBoxToLoc( double ptMin[3], double ptMax[3], const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3]) ; EIN_EXPORT BOOL __stdcall EgtBBoxLocToLoc( double ptMin[3], double ptMax[3], const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3], const double ptO2[3], const double vtX2[3], const double vtY2[3], const double vtZ2[3]) ; // Messages EIN_EXPORT BOOL __stdcall EgtLoadMessages( const wchar_t* wsMsgFilePath) ; EIN_EXPORT const wchar_t* __stdcall EgtGetMsg( int nMsg) ; #ifdef __cplusplus } #endif