occt: master 4f5ad416

Author Committer Branch Timestamp Parent
akz bugmaster master 2015-10-13 07:30:52 master 5fce1605
Affected Issues  0025574: gp_YawPitchRoll Euler Angle computation gives wrong results
Changeset 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 0025574 and 0025946.
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - src/gp/gp_EulerSequence.hxx Diff File
mod - src/gp/gp_Quaternion.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_ViewerSelector.cxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
add - tests/bugs/fclasses/bug25574 Diff File