From 5d2e1ff60822d7267a9c79d7deaa154386dbf089 Mon Sep 17 00:00:00 2001 From: Daniele Bariletti Date: Wed, 11 Feb 2026 16:47:01 +0100 Subject: [PATCH] EgtGeomKernel : - tolto un argomento alla funzione ApproxCurveWithBezier. --- CurveAux.cpp | 2 +- Trimming.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CurveAux.cpp b/CurveAux.cpp index 7404bf3..ab69a88 100644 --- a/CurveAux.cpp +++ b/CurveAux.cpp @@ -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 diff --git a/Trimming.cpp b/Trimming.cpp index 4c10c55..7cac8b1 100644 --- a/Trimming.cpp +++ b/Trimming.cpp @@ -450,7 +450,7 @@ ApproxBorder( CurveComposite& CrvCompo, double dLinTol, double dAngTol) VC.emplace_back( vColor[ ++ nIndCol]) ; #endif // Approssimo tale curva con una Bezier - PtrOwner pCrvPatchBZ( ApproxCurveWithBezier( &CCPatchApprox, dHalfLinTol, 123456)) ; + PtrOwner pCrvPatchBZ( ApproxCurveWithBezier( &CCPatchApprox, dHalfLinTol)) ; if ( IsNull( pCrvPatchBZ) || ! pCrvPatchBZ->IsValid()) { LOG_ERROR( GetEGkLogger(), "Error : Interpolating points to bezier curve failed") ; return false ;