PAL8596. Fix warping calculation

This commit is contained in:
eap 2005-04-14 12:55:31 +00:00
parent 72aa7f78b9
commit 14b3cb85a6

View File

@ -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() )