class cymel.core.datatypes.eulerrotation.ImmutableEulerRotation¶

- class cymel.core.datatypes.eulerrotation.ImmutableEulerRotation(*args)¶
- ベースクラス: - EulerRotation- EulerRotationの- immutableラッパー。- Methods: - boundIt(*args, **kwargs)- 回転結果を維持しつつ、各軸の角度を±πの範囲におさめた値をセットする。 - incrementalRotateBy(*args, **kwargs)- Perform an incremental rotation by the specified axis and angle. - invertIt(*args, **kwargs)- 逆回転をセットする。 - reorderIt(*args, **kwargs)- 回転結果を維持しつつ、オーダーを変更した値をセットする。 - set(*args, **kwargs)- 他の値をセットする。 - setToAlternateSolution(*args, **kwargs)- setToClosestCut(*args, **kwargs)- setToClosestSolution(*args, **kwargs)- setToReverseDirection(*args, **kwargs)- 同じ姿勢の逆周り回転をセットする。 - setValue(*args, **kwargs)- 他の値をセットする。 - Methods Details: - boundIt(*args, **kwargs)¶
- 回転結果を維持しつつ、各軸の角度を±πの範囲におさめた値をセットする。 - パラメータ:
- src ( - EulerRotation) -- ソース回転。省略時は現在の回転。
- 戻り値の型:
- EulerRotation(self)
 
 - incrementalRotateBy(*args, **kwargs)¶
- Perform an incremental rotation by the specified axis and angle. The rotation is broken down and performed in smaller steps so that the angles update properly. 
 - invertIt(*args, **kwargs)¶
- 逆回転をセットする。 - 戻り値の型:
- EulerRotation(self)
 
 - reorderIt(*args, **kwargs)¶
- 回転結果を維持しつつ、オーダーを変更した値をセットする。 - パラメータ:
- order (int) -- 回転オーダー。 
- 戻り値の型:
- EulerRotation(self)
 
 - set(*args, **kwargs)¶
- 他の値をセットする。 - コンストラクタと同様に、以下の値を指定可能。 
- x, y, z, order=XYZ 
- 3値のシーケンス, order=XYZ 
- Quaternion(現状のorder維持)
- Matrix(現状のorder維持)
 - 戻り値の型:
- EulerRotation(self)
 
 - setToAlternateSolution(*args, **kwargs)¶
 - setToClosestCut(*args, **kwargs)¶
 - setToClosestSolution(*args, **kwargs)¶
 - setToReverseDirection(*args, **kwargs)¶
- 同じ姿勢の逆周り回転をセットする。 - asQuaternionで得られるクォータニオンが反転する。- 戻り値の型:
- EulerRotation(self)
 
 - setValue(*args, **kwargs)¶
- 他の値をセットする。 - コンストラクタと同様に、以下の値を指定可能。 
- x, y, z, order=XYZ 
- 3値のシーケンス, order=XYZ 
- Quaternion(現状のorder維持)
- Matrix(現状のorder維持)
 - 戻り値の型:
- EulerRotation(self)