EgtGeomKernel 1.8i3 :

- correzione a offset avanzato di curve.
This commit is contained in:
Dario Sassi
2017-09-25 07:08:36 +00:00
parent 7a83e36819
commit 1b3167a832
2 changed files with 3 additions and 0 deletions
BIN
View File
Binary file not shown.
+3
View File
@@ -98,6 +98,9 @@ OffsetCurve::Make( const ICurve* pCrv, double dDist, int nType)
// verifico se curva chiusa e non forzata aperta
bool bClosed = ccCopy.IsClosed() && ( nType & ICurve::OFF_FORCE_OPEN) == 0 ;
// unisco parti allineate
ccCopy.MergeCurves( 10 * EPS_SMALL, ANG_TOL_STD_DEG, bClosed) ;
// calcolo le lunghezze delle diverse entità
DBLVECTOR vLens ;
{