EgtGeomKernel :

- correzione a MergeTwoCurves di curva composita.
This commit is contained in:
Dario Sassi
2018-05-09 06:53:34 +00:00
parent 75e1b46cf8
commit bc0d717410
+1 -1
View File
@@ -2642,7 +2642,7 @@ CurveComposite::MergeTwoCurves( ICurve* pCrvP, ICurve* pCrvC, double& dCurrLinTo
if ( pArcP->GetNormVersor() * pArcC->GetNormVersor() * pArcP->GetAngCenter() * pArcC->GetAngCenter() < 0)
return false ;
// verifico di non superare l'angolo giro al centro
if ( abs( pArcP->GetAngCenter() + pArcC->GetAngCenter()) > ANG_FULL)
if ( abs( pArcP->GetAngCenter() + pArcC->GetAngCenter()) > ANG_FULL + EPS_ANG_SMALL)
return false ;
// se archi piatti
if ( pArcP->IsFlat() && pArcC->IsFlat()) {