34 Commits

Author SHA1 Message Date
Dario Sassi 5fdd675a10 EgtInterface 3.1e2 :
- ricompilazione con cambio versione.
2026-05-12 16:36:16 +02:00
Dario Sassi 3553abd8cb EgtInterface 3.1e1 :
- ricompilazione con cambio versione.
2026-05-07 12:24:26 +02:00
Dario Sassi 245f6af29d EgtInterface 3.1d2 :
- ricompilazione con cambio versione.
2026-04-19 10:59:54 +02:00
Dario Sassi ca2e0e43f9 EgtInterface 3.1d1 :
- aggiunta interfaccia per funzione EgtRedraw.
2026-04-08 19:30:52 +02:00
Dario Sassi 75d251f561 EgtInterface :
- aggiornata interfaccia di EgtSurfBezierParamsFromPoint
- aggiunta interfaccia di EgtSurfBezierGetPointNrmD1.
2026-03-13 13:35:00 +01:00
Daniele Bariletti 9d89ccb1d7 EgtInterface :
- cabmio restituzione valori per ExeSurfBezParamsFromPoint.
2026-03-12 18:14:34 +01:00
Daniele Bariletti dc18e160e6 EgtInterface :
- aggiunte funzioni per le isoparametriche di una bezier.
2026-03-11 16:09:30 +01:00
Daniele Bariletti 829381c5be EgtInterface 3.1c3 :
- cambio versione.
2026-03-10 17:37:26 +01:00
Daniele Bariletti cdc79945e1 EgtInterface :
- aggiunta funzione EgtSurfBezParamsFromPoint.
2026-03-10 17:36:24 +01:00
Dario Sassi 644081c6fa EgtInterface 3.1c2 :
- ricompilazione con cambio versione.
2026-03-05 11:20:20 +01:00
Dario Sassi 9516b56b5a EgtInterface 3.1c1 :
- aggiunta interfaccia per EgtChangePreviewMachiningToolShow.
2026-03-03 18:35:54 +01:00
Dario Sassi 59f2cd1c4d EgtInterface 3.1b1 :
- ricompilazione con cambio versione.
2026-02-24 08:38:35 +01:00
Dario Sassi f39a48ec52 EgtInterface 3.1a1 :
- ricompilazione con cambio major version.
2026-01-02 12:34:39 +01:00
Dario Sassi 724536202a EgtInterface 2.7l2 :
- ricompilazione con cambio versione.
2025-12-19 09:48:38 +01:00
Dario Sassi 8c98da8f78 EgtInterface 2.7l1 :
- ricompilazione con cambio versione.
2025-12-09 08:18:34 +01:00
Dario Sassi ad06fb63ae EgtInterface 2.7k2 :
- aggiunta interfaccia per funzione EgtGetAllCurrAxesNames.
2025-11-07 18:00:05 +01:00
Dario Sassi c73d3d1a86 EgtInterface 2.7k1 :
- modifiche a funzioni EgtSetlevel, EgtSetMode e EgtSetStatus per mantenere inalterata l'interfaccia
- ricompilazione per passaggio a C++ 20.
2025-11-01 17:40:53 +01:00
Dario Sassi 62097608b0 EgtInterface :
- aggiornamento interfaccia di EgtSaveObjToFile.
2025-10-29 19:32:18 +01:00
Dario Sassi 05b0602bd7 EgtInterface 2.7j3 :
- aggiornato prototipo di EgtSaveMachGroupToFile per permettere un nuovo parametro (identificativi di oggetti aggiuntivi).
2025-10-28 15:21:59 +01:00
Dario Sassi 9dffc04234 EgtInterface :
- aggiunta interfaccia per EgtBeamCalcAllSolids e EgtBeamShowAllSolids.
2025-10-13 09:48:08 +02:00
Dario Sassi a52a9c5edb EgtInterface :
- adattamenti per modifica nomi puntatori a funzione.
2025-10-13 08:50:00 +02:00
Dario Sassi 3b20d2a487 EgtInterface 2.7j2 :
- aggiornamento prototipi per assemblaggi BTL.
2025-10-11 10:13:38 +02:00
Dario Sassi 21ff1216af EgtInterface 2.7j1 :
- aggiunte interfacce per funzioni EgtCopyEx e EgtCopyGlobEx.
2025-10-08 18:33:33 +02:00
Daniele Bariletti 2a95bc7c31 EgtInterface :
- aggiunta funzione per creare il loop di un triangolo di una trimesh.
2025-09-17 11:28:54 +02:00
Dario Sassi 5f82731b02 EgtInterface :
- aggiornamento a EgtGetCalcPositions per conservare interfaccia invariata nonostante parametro nStat non più usato.
2025-09-14 23:03:53 +02:00
Dario Sassi c6fc09bfb6 EgtInterface 2.7i1 :
- ricompilazione con cambio versione.
2025-09-10 08:52:35 +02:00
Dario Sassi 90e29084c7 EgtInterface :
- aggiunti prototipi EgtSetShowSurfBezierTol e EgtGetShowSurfBezierTol.
2025-08-24 19:15:23 +02:00
Dario Sassi e85ade1d90 EgtInterface 2.7h1 :
- ricompilazione con cambio versione.
2025-08-22 11:53:20 +02:00
Dario Sassi df0b822c8c EgtInterface 2.7g1 :
- ricompilazione con cambio versione.
2025-07-02 19:50:44 +02:00
Dario Sassi 42251eb37d EgtInterface 2.7f2 :
- ricompilazione con cambio versione.
2025-06-26 09:49:37 +02:00
Dario Sassi 1447d1d049 EgtInterface 2.7f1 :
- aggiunta interfaccia per EgtSimEnableToolTipTrace.
2025-06-08 19:22:02 +02:00
Dario Sassi 0b1ba8c557 EgtInterface 2.7e2 :
- aggiornamento interfacce.
2025-05-12 09:49:45 +02:00
Dario Sassi 119586e54e EgtInterface 2.7d3 :
- ricompilazione con cambio versione.
2025-04-21 11:20:39 +02:00
Dario Sassi 47f64fca72 EgtInterface 2.7d1 :
- ricompilazione con cambio versione.
2025-04-07 11:55:18 +02:00
12 changed files with 185 additions and 41 deletions
+18 -4
View File
@@ -194,6 +194,20 @@ __stdcall EgtBeamEnableProcess( int nGeomId, BOOL bEnable, BOOL bUpdate)
return ( ExeBeamEnableProcess( nGeomId, ( bEnable != FALSE), ( bUpdate != FALSE)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtBeamCalcAllSolids( BOOL bShow, BOOL bRecalc)
{
return ( ExeBeamCalcAllSolids( ( bShow != FALSE), ( bRecalc != FALSE)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtBeamShowAllSolids( BOOL bShow)
{
return ( ExeBeamShowAllSolids( ( bShow != FALSE)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtBeamCalcSolid( int nPartId, BOOL bRecalc)
@@ -217,14 +231,14 @@ __stdcall EgtBeamShowSolid( int nPartId, BOOL bShow)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtBeamGetBuildingIsOn( void)
__stdcall EgtBeamGetBuildingIsOn( int nAssGrpId)
{
return ( ExeBeamGetBuildingIsOn() ? TRUE : FALSE) ;
return ( ExeBeamGetBuildingIsOn( nAssGrpId) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtBeamShowBuilding( BOOL bShow)
__stdcall EgtBeamShowBuilding( int nAssGrpId, BOOL bShow)
{
return ( ExeBeamShowBuilding( ( bShow != FALSE)) ? TRUE : FALSE) ;
return ( ExeBeamShowBuilding( nAssGrpId, ( bShow != FALSE)) ? TRUE : FALSE) ;
}
+14
View File
@@ -354,3 +354,17 @@ __stdcall EgtCreatePolygonFromSide( int nParentId, int nNumSides, const double p
{
return ExeCreatePolygonFromSide( nParentId, nNumSides, ptIni, ptFin, nRefType) ;
}
//-------------------------------------------------------------------------------
int
__stdcall EgtSurfBezierGetCurveU( int nSurfId, double dV, int nDestGroup)
{
return ExeSurfBezierGetCurveU( nSurfId, dV, nDestGroup) ;
}
//-------------------------------------------------------------------------------
int
__stdcall EgtSurfBezierGetCurveV( int nSurfId, double dU, int nDestGroup)
{
return ExeSurfBezierGetCurveV( nSurfId, dU, nDestGroup) ;
}
+39
View File
@@ -330,6 +330,13 @@ __stdcall EgtExtractSurfTmFacetLoops( int nId, int nFacet, int nDestGrpId, int*
return ExeExtractSurfTmFacetLoops( nId, nFacet, nDestGrpId, pnCount) ;
}
//----------------------------------------------------------------------------
int
__stdcall EgtExtractSurfTmTriaLoop( int nId, int nT, int nDestGrpId)
{
return ExeExtractSurfTmTriaLoop( nId, nT, nDestGrpId) ;
}
//----------------------------------------------------------------------------
int
__stdcall EgtCopySurfTmFacet( int nId, int nFacet, int nDestGrpId)
@@ -337,6 +344,38 @@ __stdcall EgtCopySurfTmFacet( int nId, int nFacet, int nDestGrpId)
return ExeCopySurfTmFacet( nId, nFacet, nDestGrpId) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfBezierParamsFromPoint( int nSurfId, const double ptOnSurf[3], int nRefId, double* pdU, double* pdV)
{
// verifica parametri
if ( ptOnSurf == nullptr || pdU == nullptr || pdV == nullptr)
return FALSE ;
// eseguo
return ( ExeSurfBezierParamsFromPoint( nSurfId, ptOnSurf, nRefId, *pdU, *pdV) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
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])
{
// verifica parametri di ritorno
if ( ptP == nullptr || vtNorm == nullptr || vtDerU == nullptr || vtDerV == nullptr)
return FALSE ;
// eseguo
Point3d ptMyP ;
Vector3d vtMyNorm, vtMyDerU, vtMyDerV ;
if ( ! ExeSurfBezierGetPointNrmD1( nSurfId, dU, dV, nUsd, nVsd, nRefId, ptMyP, vtMyNorm, vtMyDerU, vtMyDerV))
return FALSE ;
// assegno risultati
VEC_FROM_3D( ptP, ptMyP)
VEC_FROM_3D( vtNorm, vtMyNorm)
VEC_FROM_3D( vtDerU, vtMyDerU)
VEC_FROM_3D( vtDerV, vtMyDerV)
return TRUE ;
}
//----------------------------------------------------------------------------
int
__stdcall EgtExtractSurfBezierLoops( int nId, int nDestGrpId, int* pnCount)
+3 -5
View File
@@ -24,7 +24,7 @@ using namespace std ;
BOOL
__stdcall EgtSetLevel( int nId, int nLevel)
{
return ( ExeSetLevel( nId, nLevel) ? TRUE : FALSE) ;
return ( ExeSetLevel( {nId}, nLevel) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -52,7 +52,7 @@ __stdcall EgtGetCalcLevel( int nId, int* pnLevel)
BOOL
__stdcall EgtSetMode( int nId, int nMode)
{
return ( ExeSetMode( nId, nMode) ? TRUE : FALSE) ;
return ( ExeSetMode( {nId}, nMode) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -80,9 +80,7 @@ __stdcall EgtGetCalcMode( int nId, int* pnMode)
BOOL
__stdcall EgtSetStatus( int nId, int nStat)
{
INTVECTOR vIds ;
vIds.push_back( nId) ;
return ( ExeSetStatus( vIds, nStat) ? TRUE : FALSE) ;
return ( ExeSetStatus( {nId}, nStat) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
+14
View File
@@ -223,6 +223,13 @@ __stdcall EgtCopy( int nSouId, int nRefId, int nSonBeforeAfter)
return ExeCopy( nSouId, nRefId, nSonBeforeAfter) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtCopyEx( int nSouCtx, int nSouId, int nDestCtx, int nRefId, int nSonBeforeAfter)
{
return ExeCopyEx( nSouCtx, nSouId, nDestCtx, nRefId, nSonBeforeAfter) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtCopyGlob( int nSouId, int nRefId, int nSonBeforeAfter)
@@ -230,6 +237,13 @@ __stdcall EgtCopyGlob( int nSouId, int nRefId, int nSonBeforeAfter)
return ExeCopyGlob( nSouId, nRefId, nSonBeforeAfter) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtCopyGlobEx( int nSouCtx, int nSouId, int nDestCtx, int nRefId, int nSonBeforeAfter)
{
return ExeCopyGlobEx( nSouCtx, nSouId, nDestCtx, nRefId, nSonBeforeAfter) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtRelocate( int nSouId, int nRefId, int nSonBeforeAfter)
+4 -4
View File
@@ -41,7 +41,7 @@ __stdcall EgtExit( void)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetOnTerminateProcess( pfOnTerminateProcess pFun)
__stdcall EgtSetOnTerminateProcess( psfOnTerminateProcess pFun)
{
return ( ExeSetOnTerminateProcess( pFun) ? TRUE : FALSE) ;
}
@@ -307,14 +307,14 @@ __stdcall EgtOutLog( const wchar_t* wsMsg)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetProcessEvents( pfProcEvents pFun)
__stdcall EgtSetProcessEvents( psfProcEvents pFun)
{
return ( ExeSetProcessEvents( pFun) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
static pfOutTextW s_pFunOutText = nullptr ;
static psfOutTextW s_pFunOutText = nullptr ;
//-----------------------------------------------------------------------------
bool
@@ -332,7 +332,7 @@ __stdcall MyOutText( const string& sText)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetOutText( pfOutTextW pFun)
__stdcall EgtSetOutText( psfOutTextW pFun)
{
s_pFunOutText = pFun ;
return ( ExeSetOutText( (( pFun != nullptr) ? MyOutText : nullptr)) ? TRUE : FALSE) ;
+4 -2
View File
@@ -23,6 +23,8 @@ using namespace std ;
BOOL
__stdcall EgtPointCurveDist( const double ptP[3], int nId, int nRefType, double* pdDist, double* pdU)
{
if ( ptP == nullptr || pdDist == NULL || pdU == nullptr)
return FALSE ;
Point3d ptTemp ;
return ( ExePointCurveDist( ptP, nId, nRefType, pdDist, ptTemp, pdU) ? TRUE : FALSE) ;
}
@@ -32,7 +34,7 @@ BOOL
__stdcall EgtPointCurveDistSide( const double ptP[3], int nId, const double vtN[3], int nRefType,
double* pdDist, double ptMin[3], int* pnSide)
{
if ( pdDist == nullptr || ptMin == nullptr || pnSide == nullptr)
if ( ptP == nullptr || vtN == nullptr || pdDist == nullptr || ptMin == nullptr || pnSide == nullptr)
return FALSE ;
Point3d ptTmp ;
if ( ! ExePointCurveDistSide( ptP, nId, vtN, nRefType, pdDist, ptTmp, pnSide))
@@ -45,7 +47,7 @@ __stdcall EgtPointCurveDistSide( const double ptP[3], int nId, const double vtN[
BOOL
__stdcall EgtPointSurfTmDist( const double ptP[3], int nId, int nRefType, double* pdDist, double ptMin[3], int* pnTria)
{
if ( pdDist == nullptr || ptMin == nullptr || pnTria == nullptr)
if ( ptP == nullptr || pdDist == nullptr || ptMin == nullptr || pnTria == nullptr)
return FALSE ;
Point3d ptTmp ;
if ( ! ExePointSurfTmDist( ptP, nId, nRefType, pdDist, ptTmp, pnTria))
+12 -4
View File
@@ -184,14 +184,22 @@ __stdcall EgtSaveFile( const wchar_t* wsFilePath, int nFlag)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSaveObjToFile( int nId, const wchar_t* wsFilePath, int nFlag)
__stdcall EgtSaveObjToFile( int nNumId, const int nIds[], const wchar_t* wsFilePath, int nFlag)
{
return ( ExeSaveObjToFile( nId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
INTVECTOR vId ;
vId.reserve( nNumId) ;
for ( int i = 0 ; i < nNumId ; ++i)
vId.push_back( nIds[i]) ;
return ( ExeSaveObjToFile( vId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSaveMachGroupToFile( int nMGroupId, const wchar_t* wsFilePath, int nFlag)
__stdcall EgtSaveMachGroupToFile( int nMGroupId, int nNumPlusId, const int nPlusIds[], const wchar_t* wsFilePath, int nFlag)
{
return ( ExeSaveMachGroupToFile( nMGroupId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
INTVECTOR vPlusId ;
vPlusId.reserve( nNumPlusId) ;
for ( int i = 0 ; i < nNumPlusId ; ++i)
vPlusId.push_back( nPlusIds[i]) ;
return ( ExeSaveMachGroupToFile( nMGroupId, vPlusId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
}
+52 -18
View File
@@ -336,9 +336,9 @@ __stdcall EgtModifyRawPart( int nRawId, const double ptOrig[3],
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtModifyRawPart2( int nRawId, int nCrvId,
double dOverMat, double dZmin, double dHeight, const int vCol[4])
double dOverMat, double dHeight, const int vCol[4])
{
return ( ExeModifyRawPart( nRawId, nCrvId, dOverMat, dZmin, dHeight, vCol) ? TRUE : FALSE) ;
return ( ExeModifyRawPart( nRawId, nCrvId, dOverMat, dHeight, vCol) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -1446,30 +1446,30 @@ __stdcall EgtGetPrevOperation( int nId)
//-----------------------------------------------------------------------------
int
__stdcall EgtGetFirstActiveOperation( void)
__stdcall EgtGetFirstActiveOperation( bool bNeedMachNotEmpty)
{
return ExeGetFirstActiveOperation() ;
return ExeGetFirstActiveOperation( bNeedMachNotEmpty) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetNextActiveOperation( int nId)
__stdcall EgtGetNextActiveOperation( int nId, bool bNeedMachNotEmpty)
{
return ExeGetNextActiveOperation( nId) ;
return ExeGetNextActiveOperation( nId, bNeedMachNotEmpty) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetLastActiveOperation( void)
__stdcall EgtGetLastActiveOperation( bool bNeedMachNotEmpty)
{
return ExeGetLastActiveOperation() ;
return ExeGetLastActiveOperation( bNeedMachNotEmpty) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetPrevActiveOperation( int nId)
__stdcall EgtGetPrevActiveOperation( int nId, bool bNeedMachNotEmpty)
{
return ExeGetPrevActiveOperation( nId) ;
return ExeGetPrevActiveOperation( nId, bNeedMachNotEmpty) ;
}
//-----------------------------------------------------------------------------
@@ -1515,9 +1515,9 @@ __stdcall EgtGetOperationId( const wchar_t* wsName)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtIsOperationEmpty( int nId)
__stdcall EgtIsOperationEmpty( int nId, int nEmptyType)
{
return ( ExeIsOperationEmpty( nId) ? TRUE : FALSE) ;
return ( ExeIsOperationEmpty( nId, nEmptyType) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -1747,6 +1747,13 @@ __stdcall EgtUpdateMachining( void)
return ( ExeUpdateMachining() ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtChangePreviewMachiningToolShow( int nLookFlag)
{
return ( ExeChangePreviewMachiningToolShow( nLookFlag) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtPreparePreviewMachiningTool( void)
@@ -1844,9 +1851,9 @@ __stdcall EgtGetMachiningGeometry( int nInd, int* pnId, int* pnSub)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtIsMachiningEmpty( void)
__stdcall EgtIsMachiningEmpty( int nEmptyType)
{
return ( ExeIsMachiningEmpty() ? TRUE : FALSE) ;
return ( ExeIsMachiningEmpty( nEmptyType) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -1912,7 +1919,7 @@ __stdcall EgtSimInit( void)
BOOL
__stdcall EgtSimStart( BOOL bFirst)
{
return ( ExeSimStart( bFirst ? TRUE : FALSE) ? TRUE : FALSE) ;
return ( ExeSimStart( bFirst != FALSE) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -1947,6 +1954,13 @@ __stdcall EgtSimSetUiStatus( int nUiStatus)
return ( ExeSimSetUiStatus( nUiStatus) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSimEnableToolTipTrace( BOOL bEnable)
{
return ( ExeSimEnableToolTipTrace( bEnable != FALSE) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSimGetAxisInfoPos( int nI, wchar_t*& wsName, wchar_t*& wsToken, BOOL* pbLinear, double* pdVal)
@@ -2115,7 +2129,7 @@ __stdcall EgtGetAllHeadsNames( wchar_t*& wsNames)
return FALSE ;
STRVECTOR vNames ;
if ( ! ExeGetAllHeadsNames( vNames))
return false ;
return FALSE ;
string sNames ;
for ( const auto& sName : vNames)
sNames += sName + "," ;
@@ -2133,7 +2147,7 @@ __stdcall EgtGetAllTablesNames( wchar_t*& wsNames)
return FALSE ;
STRVECTOR vNames ;
if ( ! ExeGetAllTablesNames( vNames))
return false ;
return FALSE ;
string sNames ;
for ( const auto& sName : vNames)
sNames += sName + "," ;
@@ -2172,6 +2186,25 @@ __stdcall EgtGetCalcTool( wchar_t*& wsTool, wchar_t*& wsHead, int* pnExit)
return TRUE ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetAllCurrAxesNames( wchar_t*& wsAxNames)
{
if ( &wsAxNames == nullptr)
return FALSE ;
STRVECTOR vsAxNames ;
if ( ! ExeGetAllCurrAxesNames( vsAxNames))
return FALSE ;
// restituzione vettore risultati
string sAxNames ;
for ( const auto& sAxName : vsAxNames)
sAxNames += sAxName + "\n" ;
if ( ! sAxNames.empty())
sAxNames.pop_back() ;
wsAxNames = _wcsdup( stringtoW( sAxNames)) ;
return (( wsAxNames == nullptr) ? FALSE : TRUE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetCalcAngles( const double vtDirT[3], const double vtDirA[3],
@@ -2229,7 +2262,8 @@ __stdcall EgtGetCalcPositions( const double ptP[3], int nCount, const double dAn
DBLVECTOR vAng ;
for ( int i = 0 ; i < nCount ; ++i)
vAng.push_back( dAngs[i]) ;
return ( ExeGetCalcPositions( ptP, vAng, *pnStat, *pdX, *pdY, *pdZ) ? TRUE : FALSE) ;
*pnStat = 0 ; // mantenuto per compatibilità
return ( ExeGetCalcPositions( ptP, vAng, *pdX, *pdY, *pdZ) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
+21
View File
@@ -142,6 +142,13 @@ __stdcall EgtDraw( void)
return ( ExeDraw() ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtRedraw( void)
{
return ( ExeRedraw() ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSelect( int nWinX, int nWinY, int nSelW, int nSelH, int* pnSel)
@@ -312,6 +319,20 @@ __stdcall EgtGetShowTriaAdv( void)
return ( ExeGetShowTriaAdv() ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSetShowSurfBezierTol( double dLinTol, BOOL bRedraw)
{
return ( ExeSetShowSurfBezierTol( dLinTol, ( bRedraw != FALSE)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
double
__stdcall EgtGetShowSurfBezierTol( void)
{
return ExeGetShowSurfBezierTol() ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetShowZmap( int nMode, BOOL bRedraw)
BIN
View File
Binary file not shown.
+4 -4
View File
@@ -105,7 +105,7 @@
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<OpenMPSupport>false</OpenMPSupport>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -130,7 +130,7 @@ copy $(TargetPath) \EgtProg\DllD32</Command>
<OmitFramePointers>false</OmitFramePointers>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalOptions>-Wno-tautological-undefined-compare</AdditionalOptions>
</ClCompile>
<Link>
@@ -166,7 +166,7 @@ copy $(TargetPath) \EgtProg\DllD64</Command>
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<WholeProgramOptimization>false</WholeProgramOptimization>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -201,7 +201,7 @@ copy $(TargetPath) \EgtProg\Dll32</Command>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<WholeProgramOptimization>false</WholeProgramOptimization>
<DebugInformationFormat>None</DebugInformationFormat>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalOptions>-Wno-tautological-undefined-compare</AdditionalOptions>
</ClCompile>
<Link>