1
0
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:
aml
2013-10-17 12:36:38 +04:00
committed by bugmaster
parent 2bc5e8f1e0
commit b70bbe5845
3 changed files with 99 additions and 1 deletions

View File

@@ -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 :