EgtGeomKernel 2.1a6 :

- corretta intersezione tra linee finite (segmenti) quando praticamente sovrapposte
- a Zmap aggiunte funzioni per Cut e per Compact
- in Zmap migliorate funzione GetTriangles e IsThereMat.
This commit is contained in:
Dario Sassi
2019-01-25 08:00:39 +00:00
parent b8e0af285c
commit 5f820d9f8d
8 changed files with 373 additions and 57 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ IntersLineLine::IntersFiniteLines( const ICurveLine& Line1, const ICurveLine& Li
// flag per linee parallele
bool bParallel = ( abs( dCrossXY) < SIN_EPS_ANG_ZERO * ( dLen1XY * dLen2XY)) ;
// flag per segmenti che si allontanano significativamente
bool bFarEnds = ( ( abs( dCrossXY) > SIN_EPS_ANG_SMALL * ( dLen1XY * dLen2XY)) ||
bool bFarEnds = ( /*( abs( dCrossXY) > SIN_EPS_ANG_SMALL * ( dLen1XY * dLen2XY)) ||*/
IsPointOutFatSegment( ptS1, ptS2, vtDir2, dLen2XY, EPS_SMALL) ||
IsPointOutFatSegment( ptE1, ptS2, vtDir2, dLen2XY, EPS_SMALL) ||
IsPointOutFatSegment( ptS2, ptS1, vtDir1, dLen1XY, EPS_SMALL) ||