1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0026201: Wrong processing of dissymetric chamfer: order of chords unjustly changes

Test-case for issue #26201
This commit is contained in:
jgv
2015-05-21 13:56:47 +03:00
committed by bugmaster
parent 8a5dfb3833
commit 6552f07823
2 changed files with 31 additions and 8 deletions

View File

@@ -321,8 +321,8 @@ Standard_Boolean ChFiKPart_MakeChamfer(TopOpeBRepDS_DataStructure& DStr,
const Standard_Real /*lu*/,
const TopAbs_Orientation Or1,
const TopAbs_Orientation Or2,
const Standard_Real Dis1,
const Standard_Real Dis2,
const Standard_Real dis1,
const Standard_Real dis2,
const gp_Lin& Spine,
const Standard_Real First,
const TopAbs_Orientation Ofpl,
@@ -334,12 +334,6 @@ Standard_Boolean ChFiKPart_MakeChamfer(TopOpeBRepDS_DataStructure& DStr,
// _|_ Ofpl is orientation of the plane face allowing
// |4 to determine the side of the material
Standard_Real dis1=Dis1, dis2=Dis2;
if (!plandab){
dis1 = Dis2;
dis2 = Dis1;}
gp_Pnt OrSpine = ElCLib::Value(First,Spine);
gp_Pnt POnCyl, POnPln, OrCyl;