1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00

0022694: Wrong result obtained after GeomLib::ExtendSurfByLength

This commit is contained in:
AGV 2012-02-17 12:24:55 +00:00 committed by bugmaster
parent ec99ba3232
commit 47c580a75f

View File

@ -1455,8 +1455,10 @@ void GeomLib::ExtendSurfByLength(Handle(Geom_BoundedSurface)& Surface,
} }
Standard_Boolean rational = ( InU && BS->IsURational() ) // IFV Fix OCC bug 0022694 - wrong result extrapolating rational surfaces
|| ( !InU && BS->IsVRational() ) ; // Standard_Boolean rational = ( InU && BS->IsURational() )
// || ( !InU && BS->IsVRational() ) ;
Standard_Boolean rational = (BS->IsURational() || BS->IsVRational());
Standard_Boolean NullWeight; Standard_Boolean NullWeight;
Standard_Real EpsW = 10*Precision::PConfusion(); Standard_Real EpsW = 10*Precision::PConfusion();
Standard_Integer gap = 3; Standard_Integer gap = 3;