mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 02:40:35 +05:00
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:
parent
fd24bd006b
commit
28489e5c19
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user