Compare commits
34 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5fdd675a10 | |||
| 3553abd8cb | |||
| 245f6af29d | |||
| ca2e0e43f9 | |||
| 75d251f561 | |||
| 9d89ccb1d7 | |||
| dc18e160e6 | |||
| 829381c5be | |||
| cdc79945e1 | |||
| 644081c6fa | |||
| 9516b56b5a | |||
| 59f2cd1c4d | |||
| f39a48ec52 | |||
| 724536202a | |||
| 8c98da8f78 | |||
| ad06fb63ae | |||
| c73d3d1a86 | |||
| 62097608b0 | |||
| 05b0602bd7 | |||
| 9dffc04234 | |||
| a52a9c5edb | |||
| 3b20d2a487 | |||
| 21ff1216af | |||
| 2a95bc7c31 | |||
| 5f82731b02 | |||
| c6fc09bfb6 | |||
| 90e29084c7 | |||
| e85ade1d90 | |||
| df0b822c8c | |||
| 42251eb37d | |||
| 1447d1d049 | |||
| 0b1ba8c557 | |||
| 119586e54e | |||
| 47f64fca72 |
+18
-4
@@ -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) ;
|
||||
}
|
||||
|
||||
@@ -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) ;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -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)
|
||||
|
||||
Binary file not shown.
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user