Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd24bd0
)
Fix the regression entered by fix of
author
eap
<eap@opencascade.com>
Mon, 11 Mar 2013 11:10:27 +0000
(11:10 +0000)
committer
eap
<eap@opencascade.com>
Mon, 11 Mar 2013 11:10:27 +0000
(11:10 +0000)
0021999
: EDF 2480 SMESH : Aspect ratio on a flat mesh
- if ( A < theEps )
- return theInf;
+ if ( A < Precision::Angular() )
+ return 0.;
src/Controls/SMESH_Controls.cxx
patch
|
blob
|
history
diff --git
a/src/Controls/SMESH_Controls.cxx
b/src/Controls/SMESH_Controls.cxx
index eb1e5bdb95e8f0d7879d1588ac4dc96b45f5977f..3a1e5f514506021043e7749ac82ba5f88dd2a32e 100644
(file)
--- a/
src/Controls/SMESH_Controls.cxx
+++ b/
src/Controls/SMESH_Controls.cxx
@@
-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;
}