EgtNumKernel 2.4g1 :
- miglioria a nesting dei lineari (MaximumFiller).
This commit is contained in:
Binary file not shown.
+1
-1
@@ -65,7 +65,7 @@ MaximumFiller::Compute( double dLenToFill, double dStartGap, double dMidGap, dou
|
||||
{
|
||||
// sort dei pezzi sorgenti in ordine decrescente di lunghezza
|
||||
sort( m_vpSou.begin(), m_vpSou.end(),
|
||||
[]( const Part& a, const Part& b) { return ( a.dLen > b.dLen) ; }) ;
|
||||
[]( const Part& a, const Part& b) { return ( max( a.dLen, a.dDispLen) > max( b.dLen, b.dDispLen)) ; }) ;
|
||||
|
||||
// inizializazioni
|
||||
m_dLenToFill = max( dLenToFill, 0.) ;
|
||||
|
||||
Reference in New Issue
Block a user