mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last parameters: out of pcurve
- Revert previous integration
This commit is contained in:
parent
1598ec0e46
commit
dbf33db17a
@ -378,6 +378,7 @@ static Standard_Boolean Update(Handle(Adaptor3d_HSurface)& face,
|
|||||||
pared = ponc1.Parameter();
|
pared = ponc1.Parameter();
|
||||||
parltg = ponc2.Parameter();
|
parltg = ponc2.Parameter();
|
||||||
if ((parltg > f) && (parltg < l)) {
|
if ((parltg > f) && (parltg < l)) {
|
||||||
|
#ifdef OCC23139
|
||||||
////modified by jgv, 10.05.2012 for the bug 23139////
|
////modified by jgv, 10.05.2012 for the bug 23139////
|
||||||
Handle(Geom2d_Curve) PConF = fi.PCurveOnFace();
|
Handle(Geom2d_Curve) PConF = fi.PCurveOnFace();
|
||||||
if (!PConF.IsNull())
|
if (!PConF.IsNull())
|
||||||
@ -399,6 +400,7 @@ static Standard_Boolean Update(Handle(Adaptor3d_HSurface)& face,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////
|
||||||
|
#endif
|
||||||
fi.SetParameter(parltg,isfirst);
|
fi.SetParameter(parltg,isfirst);
|
||||||
cp.SetArc(cp.Tolerance(),cp.Arc(),pared,cp.TransitionOnArc());
|
cp.SetArc(cp.Tolerance(),cp.Arc(),pared,cp.TransitionOnArc());
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user