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:
aebc245
)
Using "long double" instead i"nt"
author
abd
<abd@opencascade.com>
Tue, 1 Aug 2006 11:07:32 +0000
(11:07 +0000)
committer
abd
<abd@opencascade.com>
Tue, 1 Aug 2006 11:07:32 +0000
(11:07 +0000)
src/Controls/SMESH_Controls.cxx
patch
|
blob
|
history
diff --git
a/src/Controls/SMESH_Controls.cxx
b/src/Controls/SMESH_Controls.cxx
index c85948d2cf19ed0fef4c48fa2684ad38d7453174..1d887ed826add0c1fa327006c5ab4c2d7eeb42a6 100644
(file)
--- a/
src/Controls/SMESH_Controls.cxx
+++ b/
src/Controls/SMESH_Controls.cxx
@@
-746,7
+746,7
@@
double Warping::GetValue( const TSequenceOfXYZ& P )
if ( P.size() != 4 )
return 0;
if ( P.size() != 4 )
return 0;
- gp_XYZ G = ( P( 1 ) + P( 2 ) + P( 3 ) + P( 4 ) ) / 4;
+ gp_XYZ G = ( P( 1 ) + P( 2 ) + P( 3 ) + P( 4 ) ) / 4
.
;
double A1 = ComputeA( P( 1 ), P( 2 ), P( 3 ), G );
double A2 = ComputeA( P( 2 ), P( 3 ), P( 4 ), G );
double A1 = ComputeA( P( 1 ), P( 2 ), P( 3 ), G );
double A2 = ComputeA( P( 2 ), P( 3 ), P( 4 ), G );
@@
-777,7
+777,7
@@
double Warping::ComputeA( const gp_XYZ& thePnt1,
N.Normalize();
double H = ( thePnt2 - theG ).Dot( N );
N.Normalize();
double H = ( thePnt2 - theG ).Dot( N );
- return asin( fabs( H / L ) ) * 180 / PI;
+ return asin( fabs( H / L ) ) * 180
.
/ PI;
}
double Warping::GetBadRate( double Value, int /*nbNodes*/ ) const
}
double Warping::GetBadRate( double Value, int /*nbNodes*/ ) const