1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0031066: Infinite loop in ShapeUpgrade_UnifySameDomain

Modification in local static method TransformPCurves - compute real U And V bounds of a face and use them in further computations.
This commit is contained in:
jgv
2019-10-14 16:54:13 +03:00
committed by apn
parent 13a44c4b7f
commit 63da0df9c2
2 changed files with 23 additions and 1 deletions

View File

@@ -601,7 +601,7 @@ static void TransformPCurves(const TopoDS_Face& theRefFace,
const TopoDS_Face& theFace,
TopTools_MapOfShape& theMapEdgesWithTemporaryPCurves)
{
BRepAdaptor_Surface BAsurf(theFace, Standard_False);
BRepAdaptor_Surface BAsurf(theFace, Standard_True); //with real bounds of face
Standard_Real Uperiod = 0., Vperiod = 0.;
Handle(Geom_Surface) RefSurf = BRep_Tool::Surface(theRefFace);