Euler_d.kl

Types

Euler_d (struct)

The Euler_d type represents a 3D rotation as Euler_d X, Y, and Z angles and a RotationOrder. The X, Y, and Z angles are expressed in radians. The Euler_d type also provides conversion methods to Mat33_d.

参考

Quat

/*
** Example: Construct Euler_d
*/

RotationOrder ro('xyz');
Euler_d euler(0.0, PI, 0.0, ro);
Mat33_d matrix = euler.toMat33_d();

Members

Float64 x  
Float64 y  
Float64 z  
RotationOrder ro  

Methods

  Euler_d ( in Euler_d other )
  Euler_d ( in Float64 x, in Float64 y, in Float64 z )
  Euler_d ( in Float64 x, in Float64 y, in Float64 z, in RotationOrder order )
  Euler_d ( in Vec3_d angles )
  Euler_d ( in Vec3_d angles, in RotationOrder order )
  Euler_d ()
Boolean almostEqual ? ( in Euler_d other, in Float64 precision )
Euler_d clone ? ()
Boolean equal ? ( in Euler_d other )
Vec3_d getAngles ? ()
UInt32 hash ? ()
  set ! ( in Float64 x, in Float64 y, in Float64 z )
  set ! ( in Float64 x, in Float64 y, in Float64 z, in RotationOrder order )
  set ! ( in Vec3_d angles )
  set ! ( in Vec3_d angles, in RotationOrder order )
  setAngles ! ( in Vec3_d angles )
Mat33_d toMat33_d ? ()

Operators

  - Euler_d
Euler_d = ( Param other )