EgtGeomKernel :
- tolto un argomento alla funzione ApproxCurveWithBezier.
This commit is contained in:
+1
-1
@@ -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
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user