From: dpasukhi Date: Tue, 28 Jan 2025 12:11:53 +0000 (+0000) Subject: Modeling - Resetting Plane YVector #296 X-Git-Tag: V7_9_0_beta1~33 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=16ed3b4cede2adb8b4ac14525e303771d4d50033;p=occt.git Modeling - Resetting Plane YVector #296 Fix calculation of myOY in GeomPlate_BuildAveragePlane to use cross product with OZ --- diff --git a/src/GeomPlate/GeomPlate_BuildAveragePlane.cxx b/src/GeomPlate/GeomPlate_BuildAveragePlane.cxx index 50fa051305..28d56ecb10 100644 --- a/src/GeomPlate/GeomPlate_BuildAveragePlane.cxx +++ b/src/GeomPlate/GeomPlate_BuildAveragePlane.cxx @@ -439,7 +439,7 @@ void GeomPlate_BuildAveragePlane::BasePlan(const gp_Vec& OZ) || ((Abs(n1) <= myTol) && (Abs(n3) <= myTol))) { myOX.SetCoord(V3(1), V3(2), V3(3)); - myOY.SetCoord(0, 0, 0); + myOY = OZ ^ myOX; } else {