From: AGV <> Date: Fri, 17 Feb 2012 12:24:55 +0000 (+0000) Subject: 0022694: Wrong result obtained after GeomLib::ExtendSurfByLength X-Git-Tag: V6_5_3_beta1~82 X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=47c580a75f002a6517b4108c5821870561df9cc3 0022694: Wrong result obtained after GeomLib::ExtendSurfByLength --- diff --git a/src/GeomLib/GeomLib.cxx b/src/GeomLib/GeomLib.cxx index 7c51d697ab..d9627cd1f0 100755 --- a/src/GeomLib/GeomLib.cxx +++ b/src/GeomLib/GeomLib.cxx @@ -1455,8 +1455,10 @@ void GeomLib::ExtendSurfByLength(Handle(Geom_BoundedSurface)& Surface, } - Standard_Boolean rational = ( InU && BS->IsURational() ) - || ( !InU && BS->IsVRational() ) ; +// IFV Fix OCC bug 0022694 - wrong result extrapolating rational surfaces +// Standard_Boolean rational = ( InU && BS->IsURational() ) +// || ( !InU && BS->IsVRational() ) ; + Standard_Boolean rational = (BS->IsURational() || BS->IsVRational()); Standard_Boolean NullWeight; Standard_Real EpsW = 10*Precision::PConfusion(); Standard_Integer gap = 3;