EgtGeomKernel :

- tolto un argomento alla funzione ApproxCurveWithBezier.
This commit is contained in:
Daniele Bariletti
2026-02-11 16:47:01 +01:00
parent a9f8ef2ff3
commit 5d2e1ff608
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1596,7 +1596,7 @@ FitWithBezier( const ICurve* pCrvOrig, const PNTVECTOR& vPnt, DBLVECTOR& vParam,
//----------------------------------------------------------------------------
ICurve*
ApproxCurveWithBezier( const ICurve* pCrv , double dTol, int nType)
ApproxCurveWithBezier( const ICurve* pCrv , double dTol)
{
#if SAVECURVEPASSED
+1 -1
View File
@@ -450,7 +450,7 @@ ApproxBorder( CurveComposite& CrvCompo, double dLinTol, double dAngTol)
VC.emplace_back( vColor[ ++ nIndCol]) ;
#endif
// Approssimo tale curva con una Bezier
PtrOwner<ICurve> pCrvPatchBZ( ApproxCurveWithBezier( &CCPatchApprox, dHalfLinTol, 123456)) ;
PtrOwner<ICurve> pCrvPatchBZ( ApproxCurveWithBezier( &CCPatchApprox, dHalfLinTol)) ;
if ( IsNull( pCrvPatchBZ) || ! pCrvPatchBZ->IsValid()) {
LOG_ERROR( GetEGkLogger(), "Error : Interpolating points to bezier curve failed") ;
return false ;