EgtGeomKernel 2.2b3 :

- correzioni per triangoli che scompaiono in booleane di trimesh.
This commit is contained in:
Dario Sassi
2020-02-20 08:59:39 +00:00
parent 49f957ced5
commit fd2396fb1b
3 changed files with 171 additions and 37 deletions
+3
View File
@@ -164,6 +164,9 @@ IntersCoplanarLineTria( const Point3d& ptL, const Vector3d& vtL, double dLen, co
swap( dUmin, dUmax) ;
swap( ptInt, ptInt2) ;
}
// Per garantire l'appartenenza dei punti alla linea li ricalcolo
ptInt = ptL + dUmin * vtL ;
ptInt2 = ptL + dUmax * vtL ;
// Se linea infinita
if ( ! bFinite) {
return ILTT_SEGM_ON_EDGE ;