Compare commits
73 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 | |||
| 303489452a | |||
| e9615222be | |||
| 92769d6783 | |||
| 7659e40140 | |||
| d65f563ea9 | |||
| f1f0f7198f | |||
| 74a00d54a5 | |||
| 60772489fb | |||
| 4d3a19c18a | |||
| 9b30bdfdda | |||
| f426e04657 | |||
| 49364bc33c | |||
| ebfbd5e8f0 | |||
| afd3000a27 | |||
| 875656bbed | |||
| 8ccd525a3d | |||
| f97734d654 | |||
| d67c660e60 | |||
| a9ac0026e1 | |||
| 7b7b2f9726 | |||
| 039a6d731a | |||
| f93b500ce4 | |||
| 30b7624a78 | |||
| 22def7d324 | |||
| ac992fd113 | |||
| d43f30c1f1 | |||
| c36fea7de7 | |||
| fa91e49927 | |||
| 2261a9f4d1 | |||
| 5580700af2 | |||
| 2cd376bbd8 | |||
| 4cc9be61d7 | |||
| f1fd976d13 | |||
| 9d1a064611 | |||
| 97e1a108ba | |||
| 2d0397c826 | |||
| 34a116cfe9 | |||
| f9d1746fa8 | |||
| e632c3be1c |
+18
-4
@@ -194,6 +194,20 @@ __stdcall EgtBeamEnableProcess( int nGeomId, BOOL bEnable, BOOL bUpdate)
|
|||||||
return ( ExeBeamEnableProcess( nGeomId, ( bEnable != FALSE), ( bUpdate != FALSE)) ? TRUE : FALSE) ;
|
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
|
BOOL
|
||||||
__stdcall EgtBeamCalcSolid( int nPartId, BOOL bRecalc)
|
__stdcall EgtBeamCalcSolid( int nPartId, BOOL bRecalc)
|
||||||
@@ -217,14 +231,14 @@ __stdcall EgtBeamShowSolid( int nPartId, BOOL bShow)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtBeamGetBuildingIsOn( void)
|
__stdcall EgtBeamGetBuildingIsOn( int nAssGrpId)
|
||||||
{
|
{
|
||||||
return ( ExeBeamGetBuildingIsOn() ? TRUE : FALSE) ;
|
return ( ExeBeamGetBuildingIsOn( nAssGrpId) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtBeamShowBuilding( BOOL bShow)
|
__stdcall EgtBeamShowBuilding( int nAssGrpId, BOOL bShow)
|
||||||
{
|
{
|
||||||
return ( ExeBeamShowBuilding( ( bShow != FALSE)) ? TRUE : FALSE) ;
|
return ( ExeBeamShowBuilding( nAssGrpId, ( bShow != FALSE)) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|||||||
+18
-4
@@ -85,9 +85,23 @@ __stdcall EgtImportStl( const wchar_t* wsFilePath, double dScaleFactor)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtImport3MF( const wchar_t* wsFilePath)
|
__stdcall EgtImportOff( const wchar_t* wsFilePath, double dScaleFactor)
|
||||||
{
|
{
|
||||||
return ( ExeImport3MF( wstrztoA( wsFilePath)) ? TRUE : FALSE) ;
|
return ( ExeImportOff( wstrztoA( wsFilePath), dScaleFactor) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtImportPly( const wchar_t* wsFilePath, double dScaleFactor)
|
||||||
|
{
|
||||||
|
return ( ExeImportPly( wstrztoA( wsFilePath), dScaleFactor) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtImport3MF( const wchar_t* wsFilePath, int nFlag)
|
||||||
|
{
|
||||||
|
return ( ExeImport3MF( wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -106,9 +120,9 @@ __stdcall EgtAdvancedImportIsEnabled( void)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtAdvancedImport( const wchar_t* wsFilePath, double dLinToler)
|
__stdcall EgtAdvancedImport( const wchar_t* wsFilePath, double dLinToler, int nFlag)
|
||||||
{
|
{
|
||||||
return ( ExeAdvancedImport( wstrztoA( wsFilePath), dLinToler) ? TRUE : FALSE) ;
|
return ( ExeAdvancedImport( wstrztoA( wsFilePath), dLinToler, nFlag) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -123,3 +123,35 @@ __stdcall EgtCreateAlignedDimension( int nParentId, const double ptP1[3], const
|
|||||||
return ExeCreateAlignedDimension( nParentId, ptP1, ptP2, ptDim, wstrztoA( wsText), nRefType) ;
|
return ExeCreateAlignedDimension( nParentId, ptP1, ptP2, ptDim, wstrztoA( wsText), nRefType) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------------------
|
||||||
|
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)
|
||||||
|
{
|
||||||
|
return ExeCreateAngularDimension( nParentId, ptV, ptP1, ptP2, ptDim, wstrztoA( wsText), nRefType) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------------------
|
||||||
|
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)
|
||||||
|
{
|
||||||
|
return ExeCreateAngularDimensionEx( nParentId, ptV1, ptP1, ptV2, ptP2, ptDim, wstrztoA( wsText), nRefType) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------------------
|
||||||
|
int
|
||||||
|
__stdcall EgtCreateDiametralDimension( int nParentId, int nCrvId, const double ptDim[3],
|
||||||
|
const wchar_t* wsText, int nRefType)
|
||||||
|
{
|
||||||
|
return ExeCreateDiametralDimension( nParentId, nCrvId, ptDim, wstrztoA( wsText), nRefType) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------------------
|
||||||
|
int
|
||||||
|
__stdcall EgtCreateRadialDimension( int nParentId, int nCrvId, const double ptDim[3],
|
||||||
|
const wchar_t* wsText, int nRefType)
|
||||||
|
{
|
||||||
|
return ExeCreateRadialDimension( nParentId, nCrvId, ptDim, wstrztoA( wsText), nRefType) ;
|
||||||
|
}
|
||||||
|
|||||||
@@ -129,14 +129,28 @@ int
|
|||||||
__stdcall EgtCreateArc3P( int nParentId, const double ptP1[3],
|
__stdcall EgtCreateArc3P( int nParentId, const double ptP1[3],
|
||||||
const double ptP2[3], const double ptP3[3], int nRefType)
|
const double ptP2[3], const double ptP3[3], int nRefType)
|
||||||
{
|
{
|
||||||
|
if ( ptP1 == nullptr || ptP2 == nullptr || ptP3 == nullptr)
|
||||||
|
return GDB_ID_NULL ;
|
||||||
return ExeCreateArc3P( nParentId, ptP1, ptP2, ptP3, nRefType) ;
|
return ExeCreateArc3P( nParentId, ptP1, ptP2, ptP3, nRefType) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------------------
|
||||||
|
int
|
||||||
|
__stdcall EgtCreateArc2PR( int nParentId, const double ptStart[3], const double ptEnd[3],
|
||||||
|
double dRad, BOOL bCCW, int nRefType)
|
||||||
|
{
|
||||||
|
if ( ptStart == nullptr || ptEnd == nullptr)
|
||||||
|
return GDB_ID_NULL ;
|
||||||
|
return ExeCreateArc2PR( nParentId, ptStart, ptEnd, dRad, ( bCCW != FALSE), nRefType) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtCreateArc2PD( int nParentId, const double ptStart[3], const double ptEnd[3],
|
__stdcall EgtCreateArc2PD( int nParentId, const double ptStart[3], const double ptEnd[3],
|
||||||
double dDirSDeg, int nRefType)
|
double dDirSDeg, int nRefType)
|
||||||
{
|
{
|
||||||
|
if ( ptStart == nullptr || ptEnd == nullptr)
|
||||||
|
return GDB_ID_NULL ;
|
||||||
return ExeCreateArc2PD( nParentId, ptStart, ptEnd, dDirSDeg, nRefType) ;
|
return ExeCreateArc2PD( nParentId, ptStart, ptEnd, dDirSDeg, nRefType) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -146,6 +160,8 @@ __stdcall EgtCreateArc2PDEx( int nParentId, const double ptStart[3],
|
|||||||
const double ptEnd[3], int nSep, int nId,
|
const double ptEnd[3], int nSep, int nId,
|
||||||
double dDirSDeg, int nRefType)
|
double dDirSDeg, int nRefType)
|
||||||
{
|
{
|
||||||
|
if ( ptStart == nullptr || ptEnd == nullptr)
|
||||||
|
return GDB_ID_NULL ;
|
||||||
return ExeCreateArc2PDEx( nParentId, ptStart, ptEnd, nSep, nId, dDirSDeg, nRefType) ;
|
return ExeCreateArc2PDEx( nParentId, ptStart, ptEnd, nSep, nId, dDirSDeg, nRefType) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,6 +170,8 @@ int
|
|||||||
__stdcall EgtCreateArc2PV( int nParentId, const double ptStart[3], const double ptEnd[3],
|
__stdcall EgtCreateArc2PV( int nParentId, const double ptStart[3], const double ptEnd[3],
|
||||||
const double vtDirS[3], int nRefType)
|
const double vtDirS[3], int nRefType)
|
||||||
{
|
{
|
||||||
|
if ( ptStart == nullptr || ptEnd == nullptr)
|
||||||
|
return GDB_ID_NULL ;
|
||||||
return ExeCreateArc2PV( nParentId, ptStart, ptEnd, vtDirS, nRefType) ;
|
return ExeCreateArc2PV( nParentId, ptStart, ptEnd, vtDirS, nRefType) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -162,6 +180,8 @@ int
|
|||||||
__stdcall EgtCreateBiArc( int nParentId, const double ptStart[3], const double ptEnd[3],
|
__stdcall EgtCreateBiArc( int nParentId, const double ptStart[3], const double ptEnd[3],
|
||||||
double dDirSDeg, double dDirEDeg, double dPar, int nRefType)
|
double dDirSDeg, double dDirEDeg, double dPar, int nRefType)
|
||||||
{
|
{
|
||||||
|
if ( ptStart == nullptr || ptEnd == nullptr)
|
||||||
|
return GDB_ID_NULL ;
|
||||||
return ExeCreateBiArc( nParentId, ptStart, ptEnd, dDirSDeg, dDirEDeg, dPar, nRefType) ;
|
return ExeCreateBiArc( nParentId, ptStart, ptEnd, dDirSDeg, dDirEDeg, dPar, nRefType) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -334,3 +354,17 @@ __stdcall EgtCreatePolygonFromSide( int nParentId, int nNumSides, const double p
|
|||||||
{
|
{
|
||||||
return ExeCreatePolygonFromSide( nParentId, nNumSides, ptIni, ptFin, nRefType) ;
|
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) ;
|
||||||
|
}
|
||||||
|
|||||||
@@ -157,9 +157,10 @@ __stdcall EgtCreateSurfTmByScrewing( int nParentId, int nCrvId,
|
|||||||
|
|
||||||
//-------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtCreateSurfTmSwept( int nParentId, int nSectId, int nGuideId, BOOL bCapEnds, double dLinTol)
|
__stdcall EgtCreateSurfTmSwept( int nParentId, int nSectId, int nGuideId, const double vtAx[3],
|
||||||
|
BOOL bCapEnds, double dLinTol, int nRefType)
|
||||||
{
|
{
|
||||||
return ExeCreateSurfTmSwept( nParentId, nSectId, nGuideId, ( bCapEnds != FALSE), dLinTol) ;
|
return ExeCreateSurfTmSwept( nParentId, nSectId, nGuideId, vtAx, ( bCapEnds != FALSE), dLinTol, nRefType) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -68,6 +68,58 @@ __stdcall EgtCurveIsFlat( int nId, BOOL bUseExtrusion, double dToler, double vtN
|
|||||||
return TRUE ;
|
return TRUE ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtCurveIsACircle( int nId, double dToler, double ptC[3], double vtN[3], double* pdRad, BOOL* pbCCW)
|
||||||
|
{
|
||||||
|
if ( ptC == nullptr || vtN == nullptr || pdRad == nullptr || pbCCW == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
Point3d ptCen ;
|
||||||
|
Vector3d vtNorm ;
|
||||||
|
double dRad ;
|
||||||
|
bool bCCW ;
|
||||||
|
if ( ! ExeCurveIsACircle( nId, ptCen, vtNorm, dRad, bCCW, dToler))
|
||||||
|
return FALSE ;
|
||||||
|
VEC_FROM_3D( ptC, ptCen)
|
||||||
|
VEC_FROM_3D( vtN, vtNorm)
|
||||||
|
*pdRad = dRad ;
|
||||||
|
*pbCCW = ( bCCW ? TRUE : FALSE) ;
|
||||||
|
return TRUE ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtCurveIsARectangle( int nId, double dToler, double ptP[3], double vtL1[3], double vtL2[3])
|
||||||
|
{
|
||||||
|
if ( ptP == nullptr || vtL1 == nullptr || vtL2 == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
Point3d ptPNT ;
|
||||||
|
Vector3d vtLato1, vtLato2 ;
|
||||||
|
if ( ! ExeCurveIsARectangle( nId, ptPNT, vtLato1, vtLato2, dToler))
|
||||||
|
return FALSE ;
|
||||||
|
VEC_FROM_3D( ptP, ptPNT)
|
||||||
|
VEC_FROM_3D( vtL1, vtLato1)
|
||||||
|
VEC_FROM_3D( vtL2, vtLato2)
|
||||||
|
return TRUE ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtCurveIsATrapezoid( int nId, double dToler, double ptP[3], double vtB1[3], double vtL1[3], double vtB2[3])
|
||||||
|
{
|
||||||
|
if ( ptP == nullptr || vtB1 == nullptr || vtL1 == nullptr || vtB2 == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
Point3d ptPNT ;
|
||||||
|
Vector3d vtBase1, vtLato1, vtBase2 ;
|
||||||
|
if ( ! ExeCurveIsATrapezoid( nId, ptPNT, vtBase1, vtLato1, vtBase2, dToler))
|
||||||
|
return FALSE ;
|
||||||
|
VEC_FROM_3D( ptP, ptPNT)
|
||||||
|
VEC_FROM_3D( vtB1, vtBase1)
|
||||||
|
VEC_FROM_3D( vtL1, vtLato1)
|
||||||
|
VEC_FROM_3D( vtB2, vtBase2)
|
||||||
|
return TRUE ;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtCurveAreaXY( int nId, double* pdArea)
|
__stdcall EgtCurveAreaXY( int nId, double* pdArea)
|
||||||
@@ -218,3 +270,17 @@ __stdcall EgtCurveCompoCenter( int nId, int nSimpCrv, int nRefId, double ptCen[3
|
|||||||
VEC_FROM_3D( ptCen, ptTmp)
|
VEC_FROM_3D( ptCen, ptTmp)
|
||||||
return TRUE ;
|
return TRUE ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
int
|
||||||
|
__stdcall EgtCopyCompoSubCurve( int nId, int nSubCrvToCopy, int nParentId)
|
||||||
|
{
|
||||||
|
return ExeCopyCompoSubCurve( nId, nSubCrvToCopy, nParentId) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
int
|
||||||
|
__stdcall EgtCopyParamRange( int nId, double dUStart, double dUEnd, int nParentId)
|
||||||
|
{
|
||||||
|
return ExeCopyParamRange( nId, dUStart, dUEnd, nParentId) ;
|
||||||
|
}
|
||||||
@@ -84,6 +84,24 @@ __stdcall EgtSurfFrChunkSimpleClassify( int nId1, int nChunk1, int nId2, int nCh
|
|||||||
return ExeSurfFrChunkSimpleClassify( nId1, nChunk1, nId2, nChunk2, dToler) ;
|
return ExeSurfFrChunkSimpleClassify( nId1, nChunk1, nId2, nChunk2, dToler) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSurfFrChunkCenter( int nId, int nChunk, int nRefId, double ptCen[3], double vtNorm[3])
|
||||||
|
{
|
||||||
|
// verifica parametri
|
||||||
|
if ( ptCen == nullptr || vtNorm == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
// recupero il centro e la normale
|
||||||
|
Point3d ptTmp ;
|
||||||
|
Vector3d vtN ;
|
||||||
|
if ( ! ExeSurfFrChunkCenter( nId, nChunk, nRefId, ptTmp, vtN))
|
||||||
|
return FALSE ;
|
||||||
|
// li assegno
|
||||||
|
VEC_FROM_3D( ptCen, ptTmp)
|
||||||
|
VEC_FROM_3D( vtNorm, vtN)
|
||||||
|
return TRUE ;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtExtractSurfFrChunkLoops( int nId, int nChunk, int nDestGrpId, int* pnCount)
|
__stdcall EgtExtractSurfFrChunkLoops( int nId, int nChunk, int nDestGrpId, int* pnCount)
|
||||||
@@ -112,11 +130,46 @@ __stdcall EgtSurfTmFacetFromTria( int nId, int nT)
|
|||||||
return ExeSurfTmFacetFromTria( nId, nT) ;
|
return ExeSurfTmFacetFromTria( nId, nT) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSurfTmGetVertex( int nId, int nVert, int nRefId, double ptVert[3])
|
||||||
|
{
|
||||||
|
// verifica parametri
|
||||||
|
if ( ptVert == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
// recupero il vertice
|
||||||
|
Point3d ptV ;
|
||||||
|
if ( ! ExeSurfTmGetVertex( nId, nVert, nRefId, ptV))
|
||||||
|
return FALSE ;
|
||||||
|
// lo assegno
|
||||||
|
VEC_FROM_3D( ptVert, ptV)
|
||||||
|
return TRUE ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSurfTmGetNearestVertex( int nId, const double ptNear[3], int nRefId, int* pnVert, double ptVert[3])
|
||||||
|
{
|
||||||
|
// verifica parametri
|
||||||
|
if ( ptNear == nullptr || pnVert == nullptr || ptVert == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
// recupero indice del vertice e sue coordinate
|
||||||
|
Point3d ptTmp ;
|
||||||
|
if ( ! ExeSurfTmGetNearestVertex( nId, ptNear, nRefId, *pnVert, ptTmp))
|
||||||
|
return FALSE ;
|
||||||
|
// le assegno
|
||||||
|
VEC_FROM_3D( ptVert, ptTmp)
|
||||||
|
return TRUE ;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSurfTmFacetNearestEndPoint( int nId, int nFacet, const double ptNear[3], int nRefId,
|
__stdcall EgtSurfTmFacetNearestEndPoint( int nId, int nFacet, const double ptNear[3], int nRefId,
|
||||||
double ptEnd[3], double vtNorm[3])
|
double ptEnd[3], double vtNorm[3])
|
||||||
{
|
{
|
||||||
|
// verifica parametri
|
||||||
|
if ( ptNear == nullptr || ptEnd == nullptr || vtNorm == nullptr)
|
||||||
|
return FALSE ;
|
||||||
// recupero il punto e la normale
|
// recupero il punto e la normale
|
||||||
Point3d ptTmp ;
|
Point3d ptTmp ;
|
||||||
Vector3d vtN ;
|
Vector3d vtN ;
|
||||||
@@ -133,6 +186,9 @@ BOOL
|
|||||||
__stdcall EgtSurfTmFacetNearestMidPoint( int nId, int nFacet, const double ptNear[3], int nRefId,
|
__stdcall EgtSurfTmFacetNearestMidPoint( int nId, int nFacet, const double ptNear[3], int nRefId,
|
||||||
double ptMid[3], double vtNorm[3])
|
double ptMid[3], double vtNorm[3])
|
||||||
{
|
{
|
||||||
|
// verifica parametri
|
||||||
|
if ( ptNear == nullptr || ptMid == nullptr || vtNorm == nullptr)
|
||||||
|
return FALSE ;
|
||||||
// recupero il punto e la normale
|
// recupero il punto e la normale
|
||||||
Point3d ptTmp ;
|
Point3d ptTmp ;
|
||||||
Vector3d vtN ;
|
Vector3d vtN ;
|
||||||
@@ -148,6 +204,9 @@ __stdcall EgtSurfTmFacetNearestMidPoint( int nId, int nFacet, const double ptNea
|
|||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSurfTmFacetCenter( int nId, int nFacet, int nRefId, double ptCen[3], double vtNorm[3])
|
__stdcall EgtSurfTmFacetCenter( int nId, int nFacet, int nRefId, double ptCen[3], double vtNorm[3])
|
||||||
{
|
{
|
||||||
|
// verifica parametri
|
||||||
|
if ( ptCen == nullptr || vtNorm == nullptr)
|
||||||
|
return FALSE ;
|
||||||
// recupero il centro e la normale
|
// recupero il centro e la normale
|
||||||
Point3d ptTmp ;
|
Point3d ptTmp ;
|
||||||
Vector3d vtN ;
|
Vector3d vtN ;
|
||||||
@@ -163,6 +222,9 @@ __stdcall EgtSurfTmFacetCenter( int nId, int nFacet, int nRefId, double ptCen[3]
|
|||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSurfTmFacetNormVersor( int nId, int nFacet, int nRefId, double vtNorm[3])
|
__stdcall EgtSurfTmFacetNormVersor( int nId, int nFacet, int nRefId, double vtNorm[3])
|
||||||
{
|
{
|
||||||
|
// verifica parametri
|
||||||
|
if ( vtNorm == nullptr)
|
||||||
|
return FALSE ;
|
||||||
// recupero il vettore normale
|
// recupero il vettore normale
|
||||||
Vector3d vtTmp ;
|
Vector3d vtTmp ;
|
||||||
if ( ! ExeSurfTmFacetNormVersor( nId, nFacet, nRefId, vtTmp))
|
if ( ! ExeSurfTmFacetNormVersor( nId, nFacet, nRefId, vtTmp))
|
||||||
@@ -268,6 +330,13 @@ __stdcall EgtExtractSurfTmFacetLoops( int nId, int nFacet, int nDestGrpId, int*
|
|||||||
return ExeExtractSurfTmFacetLoops( nId, nFacet, nDestGrpId, pnCount) ;
|
return ExeExtractSurfTmFacetLoops( nId, nFacet, nDestGrpId, pnCount) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
int
|
||||||
|
__stdcall EgtExtractSurfTmTriaLoop( int nId, int nT, int nDestGrpId)
|
||||||
|
{
|
||||||
|
return ExeExtractSurfTmTriaLoop( nId, nT, nDestGrpId) ;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtCopySurfTmFacet( int nId, int nFacet, int nDestGrpId)
|
__stdcall EgtCopySurfTmFacet( int nId, int nFacet, int nDestGrpId)
|
||||||
@@ -275,6 +344,38 @@ __stdcall EgtCopySurfTmFacet( int nId, int nFacet, int nDestGrpId)
|
|||||||
return ExeCopySurfTmFacet( nId, nFacet, 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
|
int
|
||||||
__stdcall EgtExtractSurfBezierLoops( int nId, int nDestGrpId, int* pnCount)
|
__stdcall EgtExtractSurfBezierLoops( int nId, int nDestGrpId, int* pnCount)
|
||||||
|
|||||||
@@ -70,6 +70,20 @@ __stdcall EgtSurfFrOffset( int nId, double dDist, int nType)
|
|||||||
return ( ExeSurfFrOffset( nId, dDist, nType) ? TRUE : FALSE) ;
|
return ( ExeSurfFrOffset( nId, dDist, nType) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSurfTmMoveVertex( int nId, int nVert, const double ptNewVert[3], int nRefType, BOOL bUpdate)
|
||||||
|
{
|
||||||
|
return ( ExeSurfTmMoveVertex( nId, nVert, ptNewVert, nRefType, ( bUpdate != FALSE)) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSurfTmMoveFacet( int nId, int nFacet, const double vtMove[3], int nRefType, BOOL bUpdate)
|
||||||
|
{
|
||||||
|
return ( ExeSurfTmMoveFacet( nId, nFacet, vtMove, nRefType, ( bUpdate != FALSE)) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtSurfTmToTriangles( int nId, int* pnCount)
|
__stdcall EgtSurfTmToTriangles( int nId, int* pnCount)
|
||||||
@@ -119,6 +133,13 @@ __stdcall EgtSurfTmIntersect( int nId1, int nId2, BOOL bTwoColors)
|
|||||||
return ( ExeSurfTmIntersect( nId1, nId2, ( bTwoColors != FALSE)) ? TRUE : FALSE) ;
|
return ( ExeSurfTmIntersect( nId1, nId2, ( bTwoColors != FALSE)) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSurfTmSetFaceColor( int nId, int nFacet, int nColor)
|
||||||
|
{
|
||||||
|
return ( ExeSurfTmSetFaceColor( nId, nFacet, nColor) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSurfTmResetTwoColors( int nId)
|
__stdcall EgtSurfTmResetTwoColors( int nId)
|
||||||
|
|||||||
+24
-7
@@ -24,7 +24,7 @@ using namespace std ;
|
|||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSetLevel( int nId, int nLevel)
|
__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
|
BOOL
|
||||||
__stdcall EgtSetMode( int nId, int nMode)
|
__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
|
BOOL
|
||||||
__stdcall EgtSetStatus( int nId, int nStat)
|
__stdcall EgtSetStatus( int nId, int nStat)
|
||||||
{
|
{
|
||||||
INTVECTOR vIds ;
|
return ( ExeSetStatus( {nId}, nStat) ? TRUE : FALSE) ;
|
||||||
vIds.push_back( nId) ;
|
|
||||||
return ( ExeSetStatus( vIds, nStat) ? TRUE : FALSE) ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -108,9 +106,9 @@ __stdcall EgtGetCalcStatus( int nId, int* pnStat)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSetMark( int nId)
|
__stdcall EgtSetMark( int nId, int nMark)
|
||||||
{
|
{
|
||||||
return ( ExeSetMark( nId) ? TRUE : FALSE) ;
|
return ( ExeSetMark( nId, nMark) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -426,6 +424,25 @@ __stdcall EgtGetInfoFrame( int nId, const wchar_t* wsKey, double ptOrig[3],
|
|||||||
return TRUE ;
|
return TRUE ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtGetAllInfo( int nId, wchar_t*& wsInfos)
|
||||||
|
{
|
||||||
|
if ( &wsInfos == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
STRVECTOR vsInfo ;
|
||||||
|
if ( ! ExeGetAllInfo( nId, vsInfo))
|
||||||
|
return FALSE ;
|
||||||
|
// restituzione vettore risultati
|
||||||
|
string sInfos ;
|
||||||
|
for ( const auto& sInfo : vsInfo)
|
||||||
|
sInfos += sInfo + "\n" ;
|
||||||
|
if ( ! sInfos.empty())
|
||||||
|
sInfos.pop_back() ;
|
||||||
|
wsInfos = _wcsdup( stringtoW( sInfos)) ;
|
||||||
|
return (( wsInfos == nullptr) ? FALSE : TRUE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtExistsInfo( int nId, const wchar_t* wsKey)
|
__stdcall EgtExistsInfo( int nId, const wchar_t* wsKey)
|
||||||
|
|||||||
@@ -223,6 +223,13 @@ __stdcall EgtCopy( int nSouId, int nRefId, int nSonBeforeAfter)
|
|||||||
return ExeCopy( nSouId, nRefId, 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
|
int
|
||||||
__stdcall EgtCopyGlob( int nSouId, int nRefId, int nSonBeforeAfter)
|
__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) ;
|
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
|
BOOL
|
||||||
__stdcall EgtRelocate( int nSouId, int nRefId, int nSonBeforeAfter)
|
__stdcall EgtRelocate( int nSouId, int nRefId, int nSonBeforeAfter)
|
||||||
|
|||||||
+20
-4
@@ -41,7 +41,7 @@ __stdcall EgtExit( void)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSetOnTerminateProcess( pfOnTerminateProcess pFun)
|
__stdcall EgtSetOnTerminateProcess( psfOnTerminateProcess pFun)
|
||||||
{
|
{
|
||||||
return ( ExeSetOnTerminateProcess( pFun) ? TRUE : FALSE) ;
|
return ( ExeSetOnTerminateProcess( pFun) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
@@ -227,6 +227,15 @@ __stdcall EgtGetKeyLeftDays( int* pnLeftDays)
|
|||||||
return ( ExeGetKeyLeftDays( *pnLeftDays) ? TRUE : FALSE) ;
|
return ( ExeGetKeyLeftDays( *pnLeftDays) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtGetKeyAssLeftDays( int* pnAssLeftDays)
|
||||||
|
{
|
||||||
|
if ( pnAssLeftDays == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
return ( ExeGetKeyAssLeftDays( *pnAssLeftDays) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtGetKeyOptLeftDays( int* pnOptLeftDays)
|
__stdcall EgtGetKeyOptLeftDays( int* pnOptLeftDays)
|
||||||
@@ -236,6 +245,13 @@ __stdcall EgtGetKeyOptLeftDays( int* pnOptLeftDays)
|
|||||||
return ( ExeGetKeyOptLeftDays( *pnOptLeftDays) ? TRUE : FALSE) ;
|
return ( ExeGetKeyOptLeftDays( *pnOptLeftDays) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtGetNetHwKey( void)
|
||||||
|
{
|
||||||
|
return ( ExeGetNetHwKey() ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtGetOsInfo( wchar_t*& wsOs)
|
__stdcall EgtGetOsInfo( wchar_t*& wsOs)
|
||||||
@@ -291,14 +307,14 @@ __stdcall EgtOutLog( const wchar_t* wsMsg)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSetProcessEvents( pfProcEvents pFun)
|
__stdcall EgtSetProcessEvents( psfProcEvents pFun)
|
||||||
{
|
{
|
||||||
return ( ExeSetProcessEvents( pFun) ? TRUE : FALSE) ;
|
return ( ExeSetProcessEvents( pFun) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
static pfOutTextW s_pFunOutText = nullptr ;
|
static psfOutTextW s_pFunOutText = nullptr ;
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
bool
|
bool
|
||||||
@@ -316,7 +332,7 @@ __stdcall MyOutText( const string& sText)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSetOutText( pfOutTextW pFun)
|
__stdcall EgtSetOutText( psfOutTextW pFun)
|
||||||
{
|
{
|
||||||
s_pFunOutText = pFun ;
|
s_pFunOutText = pFun ;
|
||||||
return ( ExeSetOutText( (( pFun != nullptr) ? MyOutText : nullptr)) ? TRUE : FALSE) ;
|
return ( ExeSetOutText( (( pFun != nullptr) ? MyOutText : nullptr)) ? TRUE : FALSE) ;
|
||||||
|
|||||||
+4
-2
@@ -23,6 +23,8 @@ using namespace std ;
|
|||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtPointCurveDist( const double ptP[3], int nId, int nRefType, double* pdDist, double* pdU)
|
__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 ;
|
Point3d ptTemp ;
|
||||||
return ( ExePointCurveDist( ptP, nId, nRefType, pdDist, ptTemp, pdU) ? TRUE : FALSE) ;
|
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,
|
__stdcall EgtPointCurveDistSide( const double ptP[3], int nId, const double vtN[3], int nRefType,
|
||||||
double* pdDist, double ptMin[3], int* pnSide)
|
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 ;
|
return FALSE ;
|
||||||
Point3d ptTmp ;
|
Point3d ptTmp ;
|
||||||
if ( ! ExePointCurveDistSide( ptP, nId, vtN, nRefType, pdDist, ptTmp, pnSide))
|
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
|
BOOL
|
||||||
__stdcall EgtPointSurfTmDist( const double ptP[3], int nId, int nRefType, double* pdDist, double ptMin[3], int* pnTria)
|
__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 ;
|
return FALSE ;
|
||||||
Point3d ptTmp ;
|
Point3d ptTmp ;
|
||||||
if ( ! ExePointSurfTmDist( ptP, nId, nRefType, pdDist, ptTmp, pnTria))
|
if ( ! ExePointSurfTmDist( ptP, nId, nRefType, pdDist, ptTmp, pnTria))
|
||||||
|
|||||||
+12
-4
@@ -184,14 +184,22 @@ __stdcall EgtSaveFile( const wchar_t* wsFilePath, int nFlag)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
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
|
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) ;
|
||||||
}
|
}
|
||||||
|
|||||||
+218
-70
@@ -72,21 +72,19 @@ __stdcall EgtGetMachines( wchar_t*& wsMachineNames, wchar_t*& wsMachineDirs)
|
|||||||
return FALSE ;
|
return FALSE ;
|
||||||
// restituzione vettore nomi
|
// restituzione vettore nomi
|
||||||
string sMachineNames ;
|
string sMachineNames ;
|
||||||
for ( const auto& sName : vsMachineNames) {
|
for ( const auto& sName : vsMachineNames)
|
||||||
if ( ! sMachineNames.empty())
|
sMachineNames += sName + "\n" ;
|
||||||
sMachineNames += "\n" ;
|
if ( ! sMachineNames.empty())
|
||||||
sMachineNames += sName ;
|
sMachineNames.pop_back() ;
|
||||||
}
|
|
||||||
wsMachineNames = _wcsdup( stringtoW( sMachineNames)) ;
|
wsMachineNames = _wcsdup( stringtoW( sMachineNames)) ;
|
||||||
if ( wsMachineNames == nullptr)
|
if ( wsMachineNames == nullptr)
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
// restituzione vettore direttori
|
// restituzione vettore direttori
|
||||||
string sMachineDirs ;
|
string sMachineDirs ;
|
||||||
for ( const auto& sName : vsMachineDirs) {
|
for ( const auto& sName : vsMachineDirs)
|
||||||
if ( ! sMachineDirs.empty())
|
sMachineDirs += sName + "\n" ;
|
||||||
sMachineDirs += "\n" ;
|
if ( ! sMachineDirs.empty())
|
||||||
sMachineDirs += sName ;
|
sMachineDirs.pop_back() ;
|
||||||
}
|
|
||||||
wsMachineDirs = _wcsdup( stringtoW( sMachineDirs)) ;
|
wsMachineDirs = _wcsdup( stringtoW( sMachineDirs)) ;
|
||||||
if ( wsMachineDirs == nullptr) {
|
if ( wsMachineDirs == nullptr) {
|
||||||
free( wsMachineNames) ;
|
free( wsMachineNames) ;
|
||||||
@@ -198,6 +196,13 @@ __stdcall EgtRemoveMachGroup( int nMGroupId)
|
|||||||
return ( ExeRemoveMachGroup( nMGroupId) ? TRUE : FALSE) ;
|
return ( ExeRemoveMachGroup( nMGroupId) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtChangeMachGroupName( int nMGroupInd, const wchar_t* wsNewName)
|
||||||
|
{
|
||||||
|
return ( ExeChangeMachGroupName( nMGroupInd, wstrztoA( wsNewName)) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtGetMachGroupName( int nMGroupInd, wchar_t*& wsName)
|
__stdcall EgtGetMachGroupName( int nMGroupInd, wchar_t*& wsName)
|
||||||
@@ -331,9 +336,9 @@ __stdcall EgtModifyRawPart( int nRawId, const double ptOrig[3],
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtModifyRawPart2( int nRawId, int nCrvId,
|
__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) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -589,6 +594,27 @@ __stdcall EgtShowOnlyTable( BOOL bVal)
|
|||||||
return ( ExeShowOnlyTable( ( bVal != FALSE)) ? TRUE : FALSE) ;
|
return ( ExeShowOnlyTable( ( bVal != FALSE)) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtMoveDispAxis( const wchar_t* wsName, double dPos)
|
||||||
|
{
|
||||||
|
return ( ExeMoveDispAxis( wstrztoA( wsName), dPos) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtRemoveDispAxis( const wchar_t* wsName)
|
||||||
|
{
|
||||||
|
return ( ExeRemoveDispAxis( wstrztoA( wsName)) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtKeepAllDispAxes( int nSouPhase)
|
||||||
|
{
|
||||||
|
return ( ExeKeepAllDispAxes( nSouPhase) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtAddFixture( const wchar_t* wsName, const double ptPos[3], double dAngRotDeg, double dMov)
|
__stdcall EgtAddFixture( const wchar_t* wsName, const double ptPos[3], double dAngRotDeg, double dMov)
|
||||||
@@ -645,6 +671,13 @@ __stdcall EgtRotateFixture( int nFxtId, double dDeltaAngDeg)
|
|||||||
return ( ExeRotateFixture( nFxtId, dDeltaAngDeg) ? TRUE : FALSE) ;
|
return ( ExeRotateFixture( nFxtId, dDeltaAngDeg) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSetFixtureLink( int nFxtId, const wchar_t* wsTaLink)
|
||||||
|
{
|
||||||
|
return ( ExeSetFixtureLink( nFxtId, wstrztoA( wsTaLink)) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtMoveFixtureMobile( int nFxtId, double dDeltaMov)
|
__stdcall EgtMoveFixtureMobile( int nFxtId, double dDeltaMov)
|
||||||
@@ -652,6 +685,13 @@ __stdcall EgtMoveFixtureMobile( int nFxtId, double dDeltaMov)
|
|||||||
return ( ExeMoveFixtureMobile( nFxtId, dDeltaMov) ? TRUE : FALSE) ;
|
return ( ExeMoveFixtureMobile( nFxtId, dDeltaMov) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSetFixtureMobile( int nFxtId, double dMov)
|
||||||
|
{
|
||||||
|
return ( ExeSetFixtureMobile( nFxtId, dMov) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Tools DataBase
|
// Tools DataBase
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -977,11 +1017,10 @@ __stdcall EgtTdbToBeImported( const wchar_t* wsFile, wchar_t*& wsToolsNames, int
|
|||||||
return FALSE ;
|
return FALSE ;
|
||||||
// restituzione vettore nomi
|
// restituzione vettore nomi
|
||||||
string sToolsNames ;
|
string sToolsNames ;
|
||||||
for ( const auto& sName : vsToolsNames) {
|
for ( const auto& sName : vsToolsNames)
|
||||||
if ( ! sToolsNames.empty())
|
sToolsNames += sName + "\n" ;
|
||||||
sToolsNames += "\n" ;
|
if ( ! sToolsNames.empty())
|
||||||
sToolsNames += sName ;
|
sToolsNames.pop_back() ;
|
||||||
}
|
|
||||||
wsToolsNames = _wcsdup( stringtoW( sToolsNames)) ;
|
wsToolsNames = _wcsdup( stringtoW( sToolsNames)) ;
|
||||||
if ( wsToolsNames == nullptr)
|
if ( wsToolsNames == nullptr)
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
@@ -1019,11 +1058,10 @@ __stdcall EgtTdbImport( const wchar_t* wsFile, const wchar_t* wsToolsToImport, c
|
|||||||
if ( ! ExeTdbImport( string( wstrztoA( wsFile)), vsToolsToImport, vsToolsNames, vsImported))
|
if ( ! ExeTdbImport( string( wstrztoA( wsFile)), vsToolsToImport, vsToolsNames, vsImported))
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
string sImported ;
|
string sImported ;
|
||||||
for ( const auto& sName : vsImported) {
|
for ( const auto& sName : vsImported)
|
||||||
if ( ! sImported.empty())
|
sImported += sName + "\n" ;
|
||||||
sImported += "\n" ;
|
if ( ! sImported.empty())
|
||||||
sImported += sName ;
|
sImported.pop_back() ;
|
||||||
}
|
|
||||||
wsImported = _wcsdup( stringtoW( sImported)) ;
|
wsImported = _wcsdup( stringtoW( sImported)) ;
|
||||||
return (( wsImported == nullptr) ? FALSE : TRUE) ;
|
return (( wsImported == nullptr) ? FALSE : TRUE) ;
|
||||||
}
|
}
|
||||||
@@ -1327,11 +1365,10 @@ __stdcall EgtMdbToBeImported( const wchar_t* wsFile, wchar_t*& wsMachiningsNames
|
|||||||
return FALSE ;
|
return FALSE ;
|
||||||
// restituzione vettore nomi
|
// restituzione vettore nomi
|
||||||
string sMachiningsNames ;
|
string sMachiningsNames ;
|
||||||
for ( const auto& sName : vsMachiningsNames) {
|
for ( const auto& sName : vsMachiningsNames)
|
||||||
if ( ! sMachiningsNames.empty())
|
sMachiningsNames += sName + "\n" ;
|
||||||
sMachiningsNames += "\n" ;
|
if ( ! sMachiningsNames.empty())
|
||||||
sMachiningsNames += sName ;
|
sMachiningsNames.pop_back() ;
|
||||||
}
|
|
||||||
wsMachiningsNames = _wcsdup( stringtoW( sMachiningsNames)) ;
|
wsMachiningsNames = _wcsdup( stringtoW( sMachiningsNames)) ;
|
||||||
if ( wsMachiningsNames == nullptr)
|
if ( wsMachiningsNames == nullptr)
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
@@ -1369,11 +1406,10 @@ __stdcall EgtMdbImport( const wchar_t* wsFile, const wchar_t* wsMachiningsToImpo
|
|||||||
if ( ! ExeMdbImport( string( wstrztoA( wsFile)), vsMachiningsToImport, vsMachiningsNames, vsImported))
|
if ( ! ExeMdbImport( string( wstrztoA( wsFile)), vsMachiningsToImport, vsMachiningsNames, vsImported))
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
string sImported ;
|
string sImported ;
|
||||||
for ( const auto& sName : vsImported) {
|
for ( const auto& sName : vsImported)
|
||||||
if ( ! sImported.empty())
|
sImported += sName + "\n" ;
|
||||||
sImported += "\n" ;
|
if ( ! sImported.empty())
|
||||||
sImported += sName ;
|
sImported.pop_back() ;
|
||||||
}
|
|
||||||
wsImported = _wcsdup( stringtoW( sImported)) ;
|
wsImported = _wcsdup( stringtoW( sImported)) ;
|
||||||
return (( wsImported == nullptr) ? FALSE : TRUE) ;
|
return (( wsImported == nullptr) ? FALSE : TRUE) ;
|
||||||
}
|
}
|
||||||
@@ -1410,30 +1446,30 @@ __stdcall EgtGetPrevOperation( int nId)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtGetFirstActiveOperation( void)
|
__stdcall EgtGetFirstActiveOperation( bool bNeedMachNotEmpty)
|
||||||
{
|
{
|
||||||
return ExeGetFirstActiveOperation() ;
|
return ExeGetFirstActiveOperation( bNeedMachNotEmpty) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtGetNextActiveOperation( int nId)
|
__stdcall EgtGetNextActiveOperation( int nId, bool bNeedMachNotEmpty)
|
||||||
{
|
{
|
||||||
return ExeGetNextActiveOperation( nId) ;
|
return ExeGetNextActiveOperation( nId, bNeedMachNotEmpty) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtGetLastActiveOperation( void)
|
__stdcall EgtGetLastActiveOperation( bool bNeedMachNotEmpty)
|
||||||
{
|
{
|
||||||
return ExeGetLastActiveOperation() ;
|
return ExeGetLastActiveOperation( bNeedMachNotEmpty) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtGetPrevActiveOperation( int nId)
|
__stdcall EgtGetPrevActiveOperation( int nId, bool bNeedMachNotEmpty)
|
||||||
{
|
{
|
||||||
return ExeGetPrevActiveOperation( nId) ;
|
return ExeGetPrevActiveOperation( nId, bNeedMachNotEmpty) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -1479,9 +1515,9 @@ __stdcall EgtGetOperationId( const wchar_t* wsName)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtIsOperationEmpty( int nId)
|
__stdcall EgtIsOperationEmpty( int nId, int nEmptyType)
|
||||||
{
|
{
|
||||||
return ( ExeIsOperationEmpty( nId) ? TRUE : FALSE) ;
|
return ( ExeIsOperationEmpty( nId, nEmptyType) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -1711,6 +1747,13 @@ __stdcall EgtUpdateMachining( void)
|
|||||||
return ( ExeUpdateMachining() ? TRUE : FALSE) ;
|
return ( ExeUpdateMachining() ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtChangePreviewMachiningToolShow( int nLookFlag)
|
||||||
|
{
|
||||||
|
return ( ExeChangePreviewMachiningToolShow( nLookFlag) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtPreparePreviewMachiningTool( void)
|
__stdcall EgtPreparePreviewMachiningTool( void)
|
||||||
@@ -1727,9 +1770,16 @@ __stdcall EgtRemovePreviewMachiningTool( void)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
int
|
int
|
||||||
__stdcall EgtPreviewMachiningTool( int nEntId, int nFlag)
|
__stdcall EgtGetPreviewMachiningToolStepCount( void)
|
||||||
{
|
{
|
||||||
return ExePreviewMachiningTool( nEntId, nFlag) ;
|
return ExeGetPreviewMachiningToolStepCount() ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
int
|
||||||
|
__stdcall EgtPreviewMachiningTool( int nEntId, int nStep)
|
||||||
|
{
|
||||||
|
return ExePreviewMachiningTool( nEntId, nStep) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -1801,9 +1851,9 @@ __stdcall EgtGetMachiningGeometry( int nInd, int* pnId, int* pnSub)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtIsMachiningEmpty( void)
|
__stdcall EgtIsMachiningEmpty( int nEmptyType)
|
||||||
{
|
{
|
||||||
return ( ExeIsMachiningEmpty() ? TRUE : FALSE) ;
|
return ( ExeIsMachiningEmpty( nEmptyType) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -1869,7 +1919,7 @@ __stdcall EgtSimInit( void)
|
|||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSimStart( BOOL bFirst)
|
__stdcall EgtSimStart( BOOL bFirst)
|
||||||
{
|
{
|
||||||
return ( ExeSimStart( bFirst ? TRUE : FALSE) ? TRUE : FALSE) ;
|
return ( ExeSimStart( bFirst != FALSE) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -1904,6 +1954,13 @@ __stdcall EgtSimSetUiStatus( int nUiStatus)
|
|||||||
return ( ExeSimSetUiStatus( nUiStatus) ? TRUE : FALSE) ;
|
return ( ExeSimSetUiStatus( nUiStatus) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSimEnableToolTipTrace( BOOL bEnable)
|
||||||
|
{
|
||||||
|
return ( ExeSimEnableToolTipTrace( bEnable != FALSE) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSimGetAxisInfoPos( int nI, wchar_t*& wsName, wchar_t*& wsToken, BOOL* pbLinear, double* pdVal)
|
__stdcall EgtSimGetAxisInfoPos( int nI, wchar_t*& wsName, wchar_t*& wsToken, BOOL* pbLinear, double* pdVal)
|
||||||
@@ -2016,6 +2073,32 @@ __stdcall EgtGetHeadExitCount( const wchar_t* wsHead)
|
|||||||
return ExeGetHeadExitCount( wstrztoA( wsHead)) ;
|
return ExeGetHeadExitCount( wstrztoA( wsHead)) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtGetAxisType( const wchar_t* wsAxis, BOOL* pbLinear)
|
||||||
|
{
|
||||||
|
if ( pbLinear == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
bool bLinear ;
|
||||||
|
if ( ! ExeGetAxisType( wstrztoA( wsAxis), bLinear))
|
||||||
|
return FALSE ;
|
||||||
|
*pbLinear = ( bLinear ? TRUE : FALSE) ;
|
||||||
|
return TRUE ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtGetAxisDir( const wchar_t* wsAxis, double vtDir[3])
|
||||||
|
{
|
||||||
|
if ( vtDir == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
Vector3d vtTmp ;
|
||||||
|
if ( ! ExeGetAxisDir( wstrztoA( wsAxis), vtTmp))
|
||||||
|
return FALSE ;
|
||||||
|
VEC_FROM_3D( vtDir, vtTmp) ;
|
||||||
|
return TRUE ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtGetAxisInvert( const wchar_t* wsAxis, BOOL* pbInvert)
|
__stdcall EgtGetAxisInvert( const wchar_t* wsAxis, BOOL* pbInvert)
|
||||||
@@ -2046,7 +2129,7 @@ __stdcall EgtGetAllHeadsNames( wchar_t*& wsNames)
|
|||||||
return FALSE ;
|
return FALSE ;
|
||||||
STRVECTOR vNames ;
|
STRVECTOR vNames ;
|
||||||
if ( ! ExeGetAllHeadsNames( vNames))
|
if ( ! ExeGetAllHeadsNames( vNames))
|
||||||
return false ;
|
return FALSE ;
|
||||||
string sNames ;
|
string sNames ;
|
||||||
for ( const auto& sName : vNames)
|
for ( const auto& sName : vNames)
|
||||||
sNames += sName + "," ;
|
sNames += sName + "," ;
|
||||||
@@ -2064,7 +2147,7 @@ __stdcall EgtGetAllTablesNames( wchar_t*& wsNames)
|
|||||||
return FALSE ;
|
return FALSE ;
|
||||||
STRVECTOR vNames ;
|
STRVECTOR vNames ;
|
||||||
if ( ! ExeGetAllTablesNames( vNames))
|
if ( ! ExeGetAllTablesNames( vNames))
|
||||||
return false ;
|
return FALSE ;
|
||||||
string sNames ;
|
string sNames ;
|
||||||
for ( const auto& sName : vNames)
|
for ( const auto& sName : vNames)
|
||||||
sNames += sName + "," ;
|
sNames += sName + "," ;
|
||||||
@@ -2103,6 +2186,25 @@ __stdcall EgtGetCalcTool( wchar_t*& wsTool, wchar_t*& wsHead, int* pnExit)
|
|||||||
return TRUE ;
|
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
|
BOOL
|
||||||
__stdcall EgtGetCalcAngles( const double vtDirT[3], const double vtDirA[3],
|
__stdcall EgtGetCalcAngles( const double vtDirT[3], const double vtDirA[3],
|
||||||
@@ -2116,40 +2218,86 @@ __stdcall EgtGetCalcAngles( const double vtDirT[3], const double vtDirA[3],
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtGetCalcPositions( const double ptP[3], double dAngA, double dAngB,
|
__stdcall EgtGetCalcAnglesEx( const double vtDirT[3], const double vtDirA[3],
|
||||||
int* pnStat, double* pdX, double* pdY, double* pdZ)
|
int* pnStat, double*& vAngs1, double*& vAngs2, int* pnCount)
|
||||||
{
|
{
|
||||||
if ( ptP == nullptr ||
|
if ( vtDirT == nullptr || vtDirA == nullptr ||
|
||||||
pnStat == nullptr || pdX == nullptr || pdY == nullptr || pdZ == nullptr)
|
pnStat == nullptr || pnCount == nullptr || &vAngs1 == nullptr || &vAngs2 == nullptr)
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
return ( ExeGetCalcPositions( ptP, dAngA, dAngB, *pnStat, *pdX, *pdY, *pdZ) ? TRUE : FALSE) ;
|
DBLVECTOR vA1, vA2 ;
|
||||||
}
|
if ( ! ExeGetCalcAngles( vtDirT, vtDirA, *pnStat, vA1, vA2) || vA1.size() != vA2.size())
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
BOOL
|
|
||||||
__stdcall EgtGetCalcTipFromPositions( double dX, double dY, double dZ, double dAngA, double dAngB,
|
|
||||||
BOOL bBottom, double ptTip[3])
|
|
||||||
{
|
|
||||||
Point3d ptTmp ;
|
|
||||||
if ( ! ExeGetCalcTipFromPositions( dX, dY, dZ, dAngA, dAngB, ( bBottom != FALSE), ptTmp))
|
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
// ritorno i dati
|
// restituzione vettori angoli
|
||||||
if ( ptTip != nullptr)
|
int nDim = int( vA1.size()) ;
|
||||||
VEC_FROM_3D( ptTip, ptTmp) ;
|
if ( nDim == 0) {
|
||||||
|
vAngs1 = nullptr ;
|
||||||
|
vAngs2 = nullptr ;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
vAngs1 = (double*) malloc( nDim * sizeof( double)) ;
|
||||||
|
if ( vAngs1 == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
vAngs2 = (double*) malloc( nDim * sizeof( double)) ;
|
||||||
|
if ( vAngs2 == nullptr) {
|
||||||
|
free( vAngs1) ;
|
||||||
|
return FALSE ;
|
||||||
|
}
|
||||||
|
for ( int i = 0 ; i < nDim ; ++ i) {
|
||||||
|
vAngs1[i] = vA1[i] ;
|
||||||
|
vAngs2[i] = vA2[i] ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*pnCount = nDim ;
|
||||||
return TRUE ;
|
return TRUE ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtGetCalcToolDirFromAngles( double dAngA, double dAngB, double vtDir[3])
|
__stdcall EgtGetCalcPositions( const double ptP[3], int nCount, const double dAngs[],
|
||||||
|
int* pnStat, double* pdX, double* pdY, double* pdZ)
|
||||||
{
|
{
|
||||||
DBLVECTOR vAng( 2) ; vAng[0] = dAngA ; vAng[1] = dAngB ;
|
if ( ptP == nullptr || dAngs == nullptr ||
|
||||||
|
pnStat == nullptr || pdX == nullptr || pdY == nullptr || pdZ == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
DBLVECTOR vAng ;
|
||||||
|
for ( int i = 0 ; i < nCount ; ++i)
|
||||||
|
vAng.push_back( dAngs[i]) ;
|
||||||
|
*pnStat = 0 ; // mantenuto per compatibilità
|
||||||
|
return ( ExeGetCalcPositions( ptP, vAng, *pdX, *pdY, *pdZ) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtGetCalcTipFromPositions( double dX, double dY, double dZ, int nCount, const double dAngs[],
|
||||||
|
BOOL bBottom, double ptTip[3])
|
||||||
|
{
|
||||||
|
if ( dAngs == nullptr || ptTip == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
DBLVECTOR vAng ;
|
||||||
|
for ( int i = 0 ; i < nCount ; ++i)
|
||||||
|
vAng.push_back( dAngs[i]) ;
|
||||||
|
Point3d ptTmp ;
|
||||||
|
if ( ! ExeGetCalcTipFromPositions( dX, dY, dZ, vAng, ( bBottom != FALSE), ptTmp))
|
||||||
|
return FALSE ;
|
||||||
|
// ritorno i dati
|
||||||
|
VEC_FROM_3D( ptTip, ptTmp) ;
|
||||||
|
return TRUE ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtGetCalcToolDirFromAngles( int nCount, const double dAngs[], double vtDir[3])
|
||||||
|
{
|
||||||
|
if ( dAngs == nullptr || vtDir == nullptr)
|
||||||
|
return FALSE ;
|
||||||
|
DBLVECTOR vAng ;
|
||||||
|
for ( int i = 0 ; i < nCount ; ++i)
|
||||||
|
vAng.push_back( dAngs[i]) ;
|
||||||
Vector3d vtTmp ;
|
Vector3d vtTmp ;
|
||||||
if ( ! ExeGetCalcToolDirFromAngles( vAng, vtTmp))
|
if ( ! ExeGetCalcToolDirFromAngles( vAng, vtTmp))
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
// ritorno i dati
|
// ritorno i dati
|
||||||
if ( vtDir != nullptr)
|
VEC_FROM_3D( vtDir, vtTmp) ;
|
||||||
VEC_FROM_3D( vtDir, vtTmp) ;
|
|
||||||
return TRUE ;
|
return TRUE ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+37
-2
@@ -59,9 +59,9 @@ __stdcall EgtSetLineAttribs( int nWidth)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSetMarkAttribs( const int MarkCol[4])
|
__stdcall EgtSetMarkAttribs( const int MarkCol[4], const int Mark2Col[4])
|
||||||
{
|
{
|
||||||
return ( ExeSetMarkAttribs( Color( MarkCol)) ? TRUE : FALSE) ;
|
return ( ExeSetMarkAttribs( Color( MarkCol), Color( Mark2Col)) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -142,6 +142,13 @@ __stdcall EgtDraw( void)
|
|||||||
return ( ExeDraw() ? TRUE : FALSE) ;
|
return ( ExeDraw() ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtRedraw( void)
|
||||||
|
{
|
||||||
|
return ( ExeRedraw() ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
BOOL
|
BOOL
|
||||||
__stdcall EgtSelect( int nWinX, int nWinY, int nSelW, int nSelH, int* pnSel)
|
__stdcall EgtSelect( int nWinX, int nWinY, int nSelW, int nSelH, int* pnSel)
|
||||||
@@ -312,6 +319,20 @@ __stdcall EgtGetShowTriaAdv( void)
|
|||||||
return ( ExeGetShowTriaAdv() ? TRUE : FALSE) ;
|
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
|
BOOL
|
||||||
__stdcall EgtSetShowZmap( int nMode, BOOL bRedraw)
|
__stdcall EgtSetShowZmap( int nMode, BOOL bRedraw)
|
||||||
@@ -571,3 +592,17 @@ __stdcall EgtGetImage( int nShowMode, const int TopCol[4], const int BottomCol[4
|
|||||||
return ( ExeGetImage( nShowMode, Color( TopCol), Color( BottomCol),
|
return ( ExeGetImage( nShowMode, Color( TopCol), Color( BottomCol),
|
||||||
nWidth, nHeight, wstrztoA( wsName)) ? TRUE : FALSE) ;
|
nWidth, nHeight, wstrztoA( wsName)) ? TRUE : FALSE) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSetCameraType( BOOL bOrthoOrPersp, BOOL bRedraw)
|
||||||
|
{
|
||||||
|
return ( ExeSetCameraType( ( bOrthoOrPersp != FALSE), ( bRedraw != FALSE)) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
BOOL
|
||||||
|
__stdcall EgtSetZoomType( int nZoomType, BOOL bRedraw)
|
||||||
|
{
|
||||||
|
return ( ExeSetZoomType( nZoomType, ( bRedraw != FALSE)) ? TRUE : FALSE) ;
|
||||||
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -22,14 +22,14 @@
|
|||||||
<ProjectGuid>{DF654897-F85B-4108-A621-F2C4AB099A48}</ProjectGuid>
|
<ProjectGuid>{DF654897-F85B-4108-A621-F2C4AB099A48}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
<RootNamespace>EgtInterface</RootNamespace>
|
<RootNamespace>EgtInterface</RootNamespace>
|
||||||
<WindowsTargetPlatformVersion>10.0.20348.0</WindowsTargetPlatformVersion>
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
<PlatformToolset>v141_xp</PlatformToolset>
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
<PlatformToolset>v141_xp</PlatformToolset>
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<MinimalRebuild>false</MinimalRebuild>
|
<MinimalRebuild>false</MinimalRebuild>
|
||||||
<OpenMPSupport>false</OpenMPSupport>
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
@@ -130,7 +130,7 @@ copy $(TargetPath) \EgtProg\DllD32</Command>
|
|||||||
<OmitFramePointers>false</OmitFramePointers>
|
<OmitFramePointers>false</OmitFramePointers>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<MinimalRebuild>false</MinimalRebuild>
|
<MinimalRebuild>false</MinimalRebuild>
|
||||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
<AdditionalOptions>-Wno-tautological-undefined-compare</AdditionalOptions>
|
<AdditionalOptions>-Wno-tautological-undefined-compare</AdditionalOptions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
@@ -166,7 +166,7 @@ copy $(TargetPath) \EgtProg\DllD64</Command>
|
|||||||
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
|
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
|
||||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
@@ -201,7 +201,7 @@ copy $(TargetPath) \EgtProg\Dll32</Command>
|
|||||||
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
|
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
|
||||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||||
<DebugInformationFormat>None</DebugInformationFormat>
|
<DebugInformationFormat>None</DebugInformationFormat>
|
||||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
<AdditionalOptions>-Wno-tautological-undefined-compare</AdditionalOptions>
|
<AdditionalOptions>-Wno-tautological-undefined-compare</AdditionalOptions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user