EgtGeomKernel 1.6s4 :
- piccola modifica a offset semplice di composite per conservare inizio.
This commit is contained in:
@@ -123,8 +123,12 @@ CurveComposite::SimpleOffsetXY( double dDist, int nType)
|
||||
if ( VerifyAndAdjustSamePoint( pCrvPrev, pCrvNext, ccTemp) ||
|
||||
VerifyAndAdjustInternalAngle( pCrvPrev, pCrvNext, ccTemp) ||
|
||||
VerifyAndAdjustExternalAngle( pCrvPrev, pCrvNext, dDist, nType, ccTemp)) {
|
||||
if ( ccTemp.GetCurveCount() > 0 && ! ccOffs.AddCurveByRelocate( ccTemp))
|
||||
int nCrvCount = ccTemp.GetCurveCount() ;
|
||||
if ( nCrvCount > 0 && ! ccOffs.AddCurveByRelocate( ccTemp))
|
||||
return false ;
|
||||
if ( nCrvCount > 1) {
|
||||
ccOffs.ChangeStartPoint( double( ccOffs.m_CrvSmplS.size()) - 1) ;
|
||||
}
|
||||
}
|
||||
// nessun caso è andato a buon fine, errore
|
||||
else
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user