0022910: Failure to compute iso-line for NURBS surface
authorRoman Lygin, ABV <>
Fri, 3 Feb 2012 11:29:01 +0000 (11:29 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:32:17 +0000 (19:32 +0400)
src/GeomLib/GeomLib.cxx

index a7a94ec..7c51d69 100755 (executable)
@@ -2412,7 +2412,7 @@ Standard_Integer GeomLib::NormEstim(const Handle(Geom_Surface)& S,
     MagnNV = sqrt(MagnNV);
     N.SetXYZ(NV.XYZ()/MagnNV);
 
-    Standard_Real par = .5*(bid2-bid1);
+    Standard_Real par = .5*(bid2+bid1);
 
     if(AlongV) {
       Iso = S->UIso(par);