mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0024144: BRepPrimAPI_MakeWedge wrong
fixed direction computing in gp_Lin Primitives_Wedge::Line. Test cases for issue CR24144
This commit is contained in:
@@ -758,7 +758,7 @@ gp_Lin Primitives_Wedge::Line
|
||||
Y = YMin;
|
||||
Z = ZMin;
|
||||
if ( (XMin != X2Min) || (ZMin != Z2Min) )
|
||||
D = gp_Vec(gp_Pnt(XMin,YMin,ZMin),gp_Pnt(X2Min,YMax,Z2Min));
|
||||
D = gp_Vec( (X2Min-XMin)*VX + (YMax-YMin)*VY + (Z2Min-ZMin)*VZ);
|
||||
break;
|
||||
|
||||
case 9 :
|
||||
|
Reference in New Issue
Block a user