EgtInterface 1.6f1 :

- aggiornata interfaccia.
This commit is contained in:
Dario Sassi
2015-06-06 17:55:44 +00:00
parent 27c529a10f
commit 73d0639ea9
2 changed files with 22 additions and 2 deletions
+22 -2
View File
@@ -192,6 +192,13 @@ __stdcall EgtFrame( int nId, int nRefId, double ptOrig[3], double vtX[3], double
return TRUE ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtCurveDomain( int nId, double* pdStart, double* pdEnd)
{
return ( ExeCurveDomain( nId, pdStart, pdEnd) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtCurveLength( int nId, double* pdLen)
@@ -206,6 +213,19 @@ __stdcall EgtCurveLengthAtPoint( int nId, const double ptOn[3], double dExtend,
return ( ExeCurveLengthAtPoint( nId, ptOn, dExtend, pdLen) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtCurveNearestExtremityToPoint( int nId, const double ptP[3], BOOL* pbStart)
{
if ( pbStart == nullptr)
return FALSE ;
bool bStart ;
if ( ! ExeCurveNearestExtremityToPoint( nId, ptP, bStart))
return FALSE ;
*pbStart = ( bStart ? TRUE : FALSE) ;
return TRUE ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtCurveExtrusion( int nId, int nRefId, double vtExtr[3])
@@ -228,9 +248,9 @@ __stdcall EgtCurveThickness( int nId, double* pdThick)
//----------------------------------------------------------------------------
BOOL
__stdcall EgtGetMinDistPointCurve( const double ptP[3], int nId, double* pdDist)
__stdcall EgtGetMinDistPointCurve( const double ptP[3], int nId, double* pdDist, double* pdU)
{
return ( ExeGetMinDistPointCurve( ptP, nId, pdDist) ? TRUE : FALSE) ;
return ( ExeGetMinDistPointCurve( ptP, nId, pdDist, pdU) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------