EgtInterface 2.2d2 :
- aggiornato prototipo EgtCurveIsFlat per nuovo parametro bUseExtrusion.
This commit is contained in:
+2
-2
@@ -49,12 +49,12 @@ __stdcall EgtCurveIsClosed( int nId)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtCurveIsFlat( int nId, double vtN[3], double* pdDist)
|
||||
__stdcall EgtCurveIsFlat( int nId, BOOL bUseExtrusion, double dToler, double vtN[3], double* pdDist)
|
||||
{
|
||||
if ( vtN == nullptr || pdDist == nullptr)
|
||||
return FALSE ;
|
||||
Plane3d Plane ;
|
||||
if ( ! ExeCurveIsFlat( nId, Plane))
|
||||
if ( ! ExeCurveIsFlat( nId, Plane, ( bUseExtrusion != FALSE), dToler))
|
||||
return FALSE ;
|
||||
VEC_FROM_3D( vtN, Plane.GetVersN())
|
||||
*pdDist = Plane.GetDist() ;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user