EgtMachKernel :
- piccole migliorie di programmazione.
This commit is contained in:
+5
-5
@@ -1429,7 +1429,7 @@ Pocketing::AddSpiralIn( const ICurveComposite* pCompo, const Vector3d& vtTool, c
|
||||
// curva corrente
|
||||
const ICurve* pCrvC = pMCrv->GetCurve( i) ;
|
||||
// copio la curva
|
||||
PtrOwner<ICurve> pCurve( ::GetCurve( pCrvC->Clone())) ;
|
||||
PtrOwner<ICurve> pCurve( pCrvC->Clone()) ;
|
||||
if ( IsNull( pCurve))
|
||||
return false ;
|
||||
// aggiungo affondamento
|
||||
@@ -1501,7 +1501,7 @@ Pocketing::AddSpiralIn( const ICurveComposite* pCompo, const Vector3d& vtTool, c
|
||||
// se step intermedio, ritorno all'inizio direttamente
|
||||
if ( j < nStep) {
|
||||
// copio la curva di ritorno
|
||||
PtrOwner<ICurve> pRet( ::GetCurve( pRCrv->Clone())) ;
|
||||
PtrOwner<ICurve> pRet( pRCrv->Clone()) ;
|
||||
if ( IsNull( pRet))
|
||||
return false ;
|
||||
// aggiungo affondamento
|
||||
@@ -1573,7 +1573,7 @@ Pocketing::AddSpiralOut( const ICurveComposite* pCompo, const Vector3d& vtTool,
|
||||
// curva corrente
|
||||
const ICurve* pCrvC = pMCrv->GetCurve( i) ;
|
||||
// copio la curva
|
||||
PtrOwner<ICurve> pCurve( ::GetCurve( pCrvC->Clone())) ;
|
||||
PtrOwner<ICurve> pCurve( pCrvC->Clone()) ;
|
||||
if ( IsNull( pCurve))
|
||||
return false ;
|
||||
// aggiungo affondamento
|
||||
@@ -1647,7 +1647,7 @@ Pocketing::AddSpiralOut( const ICurveComposite* pCompo, const Vector3d& vtTool,
|
||||
// se step intermedio, ritorno all'inizio direttamente
|
||||
if ( j < nStep) {
|
||||
// copio la curva di ritorno
|
||||
PtrOwner<ICurve> pRet( ::GetCurve( pRCrv->Clone())) ;
|
||||
PtrOwner<ICurve> pRet( pRCrv->Clone()) ;
|
||||
if ( IsNull( pRet))
|
||||
return false ;
|
||||
// aggiungo affondamento
|
||||
@@ -2083,7 +2083,7 @@ Pocketing::AddLeadOut( const Point3d& ptEnd, const Vector3d& vtEnd, const Vector
|
||||
return false ;
|
||||
}
|
||||
else {
|
||||
if ( ! pCrv.Set( GetCurveComposite( pRCrv->Clone())))
|
||||
if ( ! pCrv.Set( pRCrv->Clone()))
|
||||
return false ;
|
||||
}
|
||||
// la porto alla giusta quota
|
||||
|
||||
Reference in New Issue
Block a user