Fix the regression entered by fix of

0021999: EDF 2480 SMESH : Aspect ratio on a flat mesh

-    if ( A < theEps )
-      return theInf;
+    if ( A < Precision::Angular() )
+      return 0.;
This commit is contained in:
eap 2013-03-11 11:10:27 +00:00
parent fd24bd006b
commit 28489e5c19

View File

@ -1423,8 +1423,8 @@ double Skew::GetValue( const TSequenceOfXYZ& P )
? 0. : fabs( PI2 - v1.Angle( v2 ) );
//BUG SWP12743
if ( A < theEps )
return theInf;
if ( A < Precision::Angular() )
return 0.;
return A * 180. / M_PI;
}