mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
PAL8596. Fix warping calculation
This commit is contained in:
parent
72aa7f78b9
commit
14b3cb85a6
@ -638,8 +638,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