mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0025574: gp_YawPitchRoll Euler Angle computation gives wrong results
Conversion of gp_Quaternion to and from intrinsic Tait-Bryan angles (including gp_YawPitchRoll) is fixed. Before that fix the sequence of rotation axes was opposite to intended; e.g. gp_YawPitchRoll (equivalent to gp_Intrinsic_ZYX) actually was defining intrinsic rotations around X, then Y, then Z. Now this is fixed, and rotations are made in correct order. Comments to gp_EulerSequence enumeration are restored (lost due to CDL extraction). Test bugs fclasses bug25574 is added to check correctness of Euler sequences, including cases from #25574 and #25946.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include <IVtkOCC_ViewerSelector.hxx>
|
||||
#include <Select3D_SensitiveBox.hxx>
|
||||
#include <TColgp_Array1OfPnt2d.hxx>
|
||||
#include <gp_Quaternion.hxx>
|
||||
#include <Graphic3d_Camera.hxx>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user