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:
72aa7f7
)
PAL8596. Fix warping calculation
author
eap
<eap@opencascade.com>
Thu, 14 Apr 2005 12:55:31 +0000
(12:55 +0000)
committer
eap
<eap@opencascade.com>
Thu, 14 Apr 2005 12:55:31 +0000
(12:55 +0000)
src/Controls/SMESH_Controls.cxx
patch
|
blob
|
history
diff --git
a/src/Controls/SMESH_Controls.cxx
b/src/Controls/SMESH_Controls.cxx
index 4aa92f1d286bdc826d53061b31d4f8753dbdec10..084f07d9abe07eb78fbe66a787a92a085a7642f5 100644
(file)
--- a/
src/Controls/SMESH_Controls.cxx
+++ b/
src/Controls/SMESH_Controls.cxx
@@
-638,8
+638,8
@@
double Warping::ComputeA( const gp_XYZ& thePnt1,
if ( L < Precision::Confusion())
return 0.;
if ( L < Precision::Confusion())
return 0.;
- gp_XYZ GI = ( thePnt2
-
thePnt1 ) / 2. - theG;
- gp_XYZ GJ = ( thePnt3
-
thePnt2 ) / 2. - theG;
+ gp_XYZ GI = ( thePnt2
+
thePnt1 ) / 2. - theG;
+ gp_XYZ GJ = ( thePnt3
+
thePnt2 ) / 2. - theG;
gp_XYZ N = GI.Crossed( GJ );
if ( N.Modulus() < gp::Resolution() )
gp_XYZ N = GI.Crossed( GJ );
if ( N.Modulus() < gp::Resolution() )