mathLab / PyGeM

Python Geometrical Morphing
http://mathlab.github.io/PyGeM/
Other
333 stars 116 forks source link

UPDATED FFD.PY FILE WITH ROTATION MATRIX AS INPUT #262

Open JJab0n opened 1 year ago

JJab0n commented 1 year ago

This new file allows the user to directly introduce the rotation matrix as input. The attribute rot_mode is created in order to create the rotation matrix through rotation angles (0-value) or to directly introduce the matrix (1-value).

This option was created to avoid the issue that arises when Euler angles are calculated from the rotation matrix (there is not a single solution). Thereby, the user can directly work with the rotation matrix.

mtezzele commented 1 year ago

Hi @JJab0n could you please provide some tests for this contribution?