projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
0024144: BRepPrimAPI_MakeWedge wrong
[occt.git]
/
src
/
Primitives
/
Primitives_Wedge.gxx
diff --git
a/src/Primitives/Primitives_Wedge.gxx
b/src/Primitives/Primitives_Wedge.gxx
index
bb67ed2
..
e656855
100755
(executable)
--- a/
src/Primitives/Primitives_Wedge.gxx
+++ b/
src/Primitives/Primitives_Wedge.gxx
@@
-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 :