Class Quaternion


public class Quaternion extends Object
This class handles quaternions. Quaternion are 2*2 complex matrices.
Belongs to CDK module:
  • Constructor Details

    • Quaternion

      public Quaternion()
    • Quaternion

      public Quaternion(double a, double b, double c, double d)
    • Quaternion

      public Quaternion(Vector axis, double angle)
      Generate a quaternion from a rotation axis and an angle
    • Quaternion

      public Quaternion(double latitude, double longitude, double angle)
      Generate a quaternion from spherical coordinates and a rotation angle
  • Method Details