Base: harmonize Python API of Rotation class

This commit is contained in:
wmayer
2021-10-27 10:40:35 +02:00
parent 6d6559e99c
commit e424faa131
2 changed files with 43 additions and 34 deletions

View File

@@ -83,30 +83,36 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="fromEuler">
<Methode Name="setYawPitchRoll">
<Documentation>
<UserDocu>
fromEuler(angle1, angle2, angle3)
setYawPitchRoll(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">
<Methode Name="getYawPitchRoll" Const="true">
<Documentation>
<UserDocu>
toEuler() -> list
getYawPitchRoll() -> list
Get the Euler angles of this rotation
as yaw-pitch-roll in XY'Z'' convention
NOTE: The angles are in degree
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setEulerAngles">
<Documentation>
<UserDocu>
setEulerAngles(seq, angle1, angle2, angle3)
Set the Euler angles in a given sequence for this rotation.
'seq' is the Euler sequence name. You get all possible values with toEulerAngles()
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toEulerAngles" Const="true">
<Documentation>
<UserDocu>