EgtInterface 2.2d2 :

- aggiornato prototipo EgtCurveIsFlat per nuovo parametro bUseExtrusion.
This commit is contained in:
Dario Sassi
2020-04-13 09:10:36 +00:00
parent 404bf109d1
commit 716db3e6e3
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -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() ;
BIN
View File
Binary file not shown.