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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user