mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
Fix of regression in Extrema, improvement in 3D offset.
This commit is contained in:
parent
bd2a789f15
commit
052d06b301
@ -3182,6 +3182,8 @@ Standard_Boolean BRepOffset_Tool::EnLargeFace
|
|||||||
coeff = 0.25;
|
coeff = 0.25;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (theExtensionMode == 2)
|
||||||
{
|
{
|
||||||
Standard_Real FaceDU = UF2 - UF1;
|
Standard_Real FaceDU = UF2 - UF1;
|
||||||
Standard_Real FaceDV = VF2 - VF1;
|
Standard_Real FaceDV = VF2 - VF1;
|
||||||
@ -3189,6 +3191,15 @@ Standard_Boolean BRepOffset_Tool::EnLargeFace
|
|||||||
UU2 = UF2 + 10*FaceDU;
|
UU2 = UF2 + 10*FaceDU;
|
||||||
VV1 = VF1 - 10*FaceDV;
|
VV1 = VF1 - 10*FaceDV;
|
||||||
VV2 = VF2 + 10*FaceDV;
|
VV2 = VF2 + 10*FaceDV;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Standard_Real aSize = theLenBeforeUfirst;
|
||||||
|
UU1 = UF1 - aSize;
|
||||||
|
UU2 = UF2 + aSize;
|
||||||
|
VV1 = VF1 - aSize;
|
||||||
|
VV2 = VF2 + aSize;
|
||||||
|
}
|
||||||
coeff = 1.;
|
coeff = 1.;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user