4 #ifndef ROOT_TQuaternion 5 #define ROOT_TQuaternion 15 TQuaternion(Double_t real = 0, Double_t X = 0, Double_t Y = 0, Double_t Z = 0);
44 inline void GetRXYZ(Double_t *carray)
const;
45 inline void GetRXYZ(Float_t *carray)
const;
97 inline Double_t
Norm()
const;
98 inline Double_t
Norm2()
const;
108 void Print(Option_t* option=
"")
const;
183 Error(
"operator/=()(Double_t)",
"bad value (%f) ignored",real);
TQuaternion operator-() const
Quaternion is a 4-component mathematic object quite convenient when dealing with space rotation (or r...
TQuaternion & SetQAngle(Double_t angle)
Set angle of quaternion (rad) - keep quaternion norm N.B : this angle is half of the corresponding ro...
you should not use this method at all Int_t y
void Rotate(TVector3 &vect) const
rotate vect by current quaternion
TQuaternion & operator/=(Double_t real)
TQuaternion & operator-=(Double_t real)
void GetRXYZ(Double_t *carray) const
TQuaternion & SetRXYZ(Double_t r, Double_t x, Double_t y, Double_t z)
void SetXYZ(Double_t x, Double_t y, Double_t z)
void GetXYZ(Double_t *carray) const
TQuaternion & DivideLeft(const TVector3 &vector)
left division
TQuaternion & operator=(Double_t r)
TVector3 is a general three vector class, which can be used for the description of different vectors ...
Bool_t operator==(Double_t r) const
TQuaternion & operator*=(Double_t real)
TQuaternion(Double_t real=0, Double_t X=0, Double_t Y=0, Double_t Z=0)
TQuaternion & SetAxisQAngle(TVector3 &v, Double_t QAngle)
set quaternion from vector and angle (rad) quaternion is set as unitary N.B : this angle is half of t...
void Print(Option_t *option="") const
Print Quaternion parameters.
TQuaternion operator*(Double_t real) const
product of quaternion with a real
Double_t GetQAngle() const
Get angle of quaternion (rad) N.B : this angle is half of the corresponding rotation angle...
* x
Deprecated and error prone model selection interface.
TQuaternion & MultiplyLeft(const TVector3 &vector)
left multiplication
TQuaternion Conjugate() const
TQuaternion operator/(Double_t real) const
division by a real
TVector3 Rotation(const TVector3 &vect) const
rotation of vect by current quaternion
TQuaternion Invert() const
invert
TQuaternion LeftQuotient(const TVector3 &vector) const
left quotient
Bool_t operator!=(Double_t r) const
TQuaternion operator+(Double_t real) const
sum of quaternion with a real
you should not use this method at all Int_t Int_t z
TQuaternion & SetRV(Double_t r, TVector3 &vect)
TQuaternion & Normalize()
Double_t operator[](int) const
Double_t Sqrt(Double_t x)
Double_t operator()(int) const
dereferencing operator const
TQuaternion LeftProduct(const TVector3 &vector) const
left product
TQuaternion & operator+=(Double_t real)