EgtInterface 1.6f1 :
- aggiornata interfaccia.
This commit is contained in:
+22
-2
@@ -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) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user