mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 10:10:33 +05:00
PAL8596. Fix warping calculation
This commit is contained in:
parent
01952c2742
commit
87ee26c345
@ -629,8 +629,8 @@ double Warping::ComputeA( const gp_XYZ& thePnt1,
|
||||
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() )
|
||||
|
Loading…
Reference in New Issue
Block a user