Base: [skip ci] expose Rotation.fromEuler() to Python

This commit is contained in:
wmayer
2021-10-27 00:34:36 +02:00
parent e780af1184
commit 497c1895e8
2 changed files with 45 additions and 2 deletions

View File

@@ -83,13 +83,28 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="fromEuler">
<Documentation>
<UserDocu>
fromEuler(angle1, angle2, angle3)
Set the Euler angles of this rotation
as yaw-pitch-roll in XY'Z'' convention.
or:
fromEuler(seq, angle1, angle2, angle3)
Get the Euler angles in a given sequence for this rotation.
NOTE: The angles are in degree
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toEuler" Const="true">
<Documentation>
<UserDocu>
toEuler() -> list
Get the Euler angles of this rotation
as yaw-pitch-roll in XY'Z'' convention
</UserDocu>
NOTE: The angles are in degree
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toEulerAngles" Const="true">