EgtInterface 2.3d3 :

- modificate le interfacce di EgtAddCurveCompoCurve, EgtAddCurveCompoLine, EgtAddCurveCompoArcTg e EgtAddCurveCompoArc2P con aggiunta del parametro bStartVsEnd.
This commit is contained in:
Dario Sassi
2021-04-12 07:51:13 +00:00
parent fb29f4d961
commit 6f7c603cc3
2 changed files with 8 additions and 8 deletions
+8 -8
View File
@@ -232,30 +232,30 @@ __stdcall EgtCloseCurveCompo( int nId)
//-------------------------------------------------------------------------------
BOOL
__stdcall EgtAddCurveCompoCurve( int nId, int nAddCrvId, BOOL bEraseOrig)
__stdcall EgtAddCurveCompoCurve( int nId, int nAddCrvId, BOOL bEraseOrig, BOOL bStartVsEnd)
{
return ( ExeAddCurveCompoCurve( nId, nAddCrvId, ( bEraseOrig != FALSE)) ? TRUE : FALSE) ;
return ( ExeAddCurveCompoCurve( nId, nAddCrvId, ( bEraseOrig != FALSE), ( bStartVsEnd != FALSE)) ? TRUE : FALSE) ;
}
//-------------------------------------------------------------------------------
BOOL
__stdcall EgtAddCurveCompoLine( int nId, const double ptP[3], int nRefType)
__stdcall EgtAddCurveCompoLine( int nId, const double ptP[3], BOOL bStartVsEnd, int nRefType)
{
return ( ExeAddCurveCompoLine( nId, ptP, nRefType) ? TRUE : FALSE) ;
return ( ExeAddCurveCompoLine( nId, ptP, ( bStartVsEnd != FALSE), nRefType) ? TRUE : FALSE) ;
}
//-------------------------------------------------------------------------------
BOOL
__stdcall EgtAddCurveCompoArcTg( int nId, const double ptP[3], int nRefType)
__stdcall EgtAddCurveCompoArcTg( int nId, const double ptP[3], BOOL bStartVsEnd, int nRefType)
{
return ( ExeAddCurveCompoArcTg( nId, ptP, nRefType) ? TRUE : FALSE) ;
return ( ExeAddCurveCompoArcTg( nId, ptP, ( bStartVsEnd != FALSE), nRefType) ? TRUE : FALSE) ;
}
//-------------------------------------------------------------------------------
BOOL
__stdcall EgtAddCurveCompoArc2P( int nId, const double ptMid[3], const double ptP[3], int nRefType)
__stdcall EgtAddCurveCompoArc2P( int nId, const double ptMid[3], const double ptP[3], BOOL bStartVsEnd, int nRefType)
{
return ( ExeAddCurveCompoArc2P( nId, ptMid, ptP, nRefType) ? TRUE : FALSE) ;
return ( ExeAddCurveCompoArc2P( nId, ptMid, ptP, ( bStartVsEnd != FALSE), nRefType) ? TRUE : FALSE) ;
}
//-------------------------------------------------------------------------------