EgtInterface 2.2i2 :

- aggiunte interfacce per funzioni EgtCutSurfTmPlane, EgtCutSurfTmClosedCurve, EgtGroupSwap
- aggiunte interfacce per funzioni EgtInitBeamMgr, EgtBeamCalcSolid, EgtBeamGetSolid, EgtBeamShowSolid.
This commit is contained in:
Dario Sassi
2020-09-02 17:49:40 +00:00
parent 81c91cdb92
commit 8718eff972
7 changed files with 96 additions and 20 deletions
+20 -6
View File
@@ -72,23 +72,37 @@ __stdcall EgtSurfTmRemoveFacet( int nId, int nFacet)
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfTmAdd( int nId1, int nId2, bool bTwoColors)
__stdcall EgtCutSurfTmPlane( int nId, const double ptOn[3], const double vtN[3], BOOL bSaveOnEq, int nRefType)
{
return ( ExeSurfTmAdd( nId1, nId2, bTwoColors) ? TRUE : FALSE) ;
return ( ExeCutSurfTmPlane( nId, ptOn, vtN, ( bSaveOnEq != FALSE), nRefType) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfTmSubtract( int nId1, int nId2, bool bTwoColors)
__stdcall EgtCutSurfTmClosedCurve( int nSurfId, int nCurveId, BOOL bSaveOnEq)
{
return ( ExeSurfTmSubtract( nId1, nId2, bTwoColors) ? TRUE : FALSE) ;
return ( ExeCutSurfTmClosedCurve( nSurfId, nCurveId, ( bSaveOnEq != FALSE)) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfTmIntersect( int nId1, int nId2, bool bTwoColors)
__stdcall EgtSurfTmAdd( int nId1, int nId2, BOOL bTwoColors)
{
return ( ExeSurfTmIntersect( nId1, nId2, bTwoColors) ? TRUE : FALSE) ;
return ( ExeSurfTmAdd( nId1, nId2, ( bTwoColors != FALSE)) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfTmSubtract( int nId1, int nId2, BOOL bTwoColors)
{
return ( ExeSurfTmSubtract( nId1, nId2, ( bTwoColors != FALSE)) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfTmIntersect( int nId1, int nId2, BOOL bTwoColors)
{
return ( ExeSurfTmIntersect( nId1, nId2, ( bTwoColors != FALSE)) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------