SAP-archive / fedem-foundation

The FEDEM foundation libraries
Apache License 2.0
0 stars 5 forks source link

Unhandled singularity in Euler angle transformation #7

Open kmoks opened 9 months ago

kmoks commented 9 months ago

The transformation from rotation matrix to Euler angles contains a singularity if the (3,1) matrix term equals 1.0 and the other elements of the first column and third row is zero. This case must be handled specifically, but is not in Fedem. Therefore, the resulting Euler angles from such a matrix is incorrect (e.g., as displayed in the property panel for positioned objects).

kmoks commented 9 months ago

This issue was first reported in the Jira issue SOLVERS-314 two years ago, and is reproduced here for Open FEDEM.