4 #ifndef ROOT_TQuaternion
5 #define ROOT_TQuaternion
187 Error(
"operator/=()(Double_t)",
"bad value (%f) ignored",real);
TQuaternion operator/(Double_t r, const TQuaternion &q)
TQuaternion LeftQuotient(const TVector3 &vector) const
left quotient
TQuaternion operator-() const
TQuaternion operator*(Double_t real) const
product of quaternion with a real
TQuaternion operator+(Double_t real) const
sum of quaternion with a real
Double_t operator[](int) const
void Rotate(TVector3 &vect) const
rotate vect by current quaternion
TQuaternion & SetQAngle(Double_t angle)
Set angle of quaternion (rad) - keep quaternion norm N.B : this angle is half of the corresponding ro...
TQuaternion & operator/=(Double_t real)
TQuaternion & operator-=(Double_t real)
#define ClassDef(name, id)
TQuaternion operator*(Double_t r, const TQuaternion &q)
TQuaternion & SetRXYZ(Double_t r, Double_t x, Double_t y, Double_t z)
TQuaternion operator/(Double_t real) const
division by a real
void SetXYZ(Double_t x, Double_t y, Double_t z)
TQuaternion LeftProduct(const TVector3 &vector) const
left product
TQuaternion & DivideLeft(const TVector3 &vector)
left division
TQuaternion & operator=(Double_t r)
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Bool_t operator!=(Double_t r) const
void Print(Option_t *option="") const
Print Quaternion parameters.
TQuaternion operator-(Double_t r, const TQuaternion &q)
TQuaternion & operator*=(Double_t real)
TQuaternion Conjugate() const
void GetRXYZ(Double_t *carray) const
TQuaternion operator+(Double_t r, const TQuaternion &q)
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...
Double_t operator()(int) const
dereferencing operator const
TQuaternion & MultiplyLeft(const TVector3 &vector)
left multitplication
TVector3 Rotation(const TVector3 &vect) const
rotation of vect by current quaternion
Bool_t operator==(Double_t r) const
Double_t GetQAngle() const
Get angle of quaternion (rad) N.B : this angle is half of the corresponding rotation angle...
void GetXYZ(Double_t *carray) const
Mother of all ROOT objects.
TQuaternion & SetRV(Double_t r, TVector3 &vect)
TQuaternion & Normalize()
TQuaternion Invert() const
invert
Double_t Sqrt(Double_t x)
std::complex< float_v > Z
TQuaternion & operator+=(Double_t real)