EgtGeomKernel 1.6w3 :
- correzioni nell'intersezione di archi tangenti o quasi - pulizia uso distanze e relative costanti minime.
This commit is contained in:
+1
-1
@@ -583,7 +583,7 @@ Triangulate::CalcTriangleAspectRatio( const Point3d& ptPa, const Point3d& ptPb,
|
||||
double dSqDistB = SquareDist( ptPb, ptPc) ;
|
||||
double dSqDistC = SquareDist( ptPc, ptPa) ;
|
||||
double dTwoArea = fabs( TwoArea( ptPa, ptPb, ptPc)) ;
|
||||
if ( dTwoArea < EPS_SMALL * EPS_SMALL)
|
||||
if ( dTwoArea < SQ_EPS_SMALL)
|
||||
return INFINITO ;
|
||||
else
|
||||
return ( (std::max)( dSqDistA, (std::max)( dSqDistB, dSqDistC)) / dTwoArea) ;
|
||||
|
||||
Reference in New Issue
Block a user