mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +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())
|
if ( L < Precision::Confusion())
|
||||||
return 0.;
|
return 0.;
|
||||||
|
|
||||||
gp_XYZ GI = ( thePnt2 - thePnt1 ) / 2. - theG;
|
gp_XYZ GI = ( thePnt2 + thePnt1 ) / 2. - theG;
|
||||||
gp_XYZ GJ = ( thePnt3 - thePnt2 ) / 2. - theG;
|
gp_XYZ GJ = ( thePnt3 + thePnt2 ) / 2. - theG;
|
||||||
gp_XYZ N = GI.Crossed( GJ );
|
gp_XYZ N = GI.Crossed( GJ );
|
||||||
|
|
||||||
if ( N.Modulus() < gp::Resolution() )
|
if ( N.Modulus() < gp::Resolution() )
|
||||||
|
Loading…
Reference in New Issue
Block a user